Two Laptop Bag*
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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