This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes Tiles problem: left menu area is not growing in length as the number of content lines grows Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Tiles problem: left menu area is not growing in length as the number of content lines grows" Watch "Tiles problem: left menu area is not growing in length as the number of content lines grows" New topic
Author

Tiles problem: left menu area is not growing in length as the number of content lines grows

Jr Wright
Greenhorn

Joined: Feb 19, 2009
Posts: 4
I am trying to fix a JSP that is using Tiles for layout. The left navigation menu's height seems to be fixed but I need it to be dynamic. The text that can appear on it represents rows from a data base. The amount rows can grow to be a fairly large number and I need the left menu to grow in height. I have tried not specifying any height and specifying in a CSS rule:

height: auto;

but this does not fix the problem. The only thing I have been able to do is to give the div in question a fixed height of 500px. I am using IE to develop with.

Any ideas how to make the height change dynamically?

Thanks.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

This is a CSS, not Struts, issue.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tiles problem: left menu area is not growing in length as the number of content lines grows