Forum Moderators: not2easy

Message Too Old, No Replies

Fixed but flexible height

I know what you're thinking!

         

ahmedtheking

10:25 am on Jul 27, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm sure many of us have faced this: we want a box to be a certain size, even if there's no content within it, but if the content is larger than the box, we want the box to stretch. A common example of where we don't have page to page control is a CMS. Is there any way around this?

marcel

2:21 pm on Jul 27, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



min-height?

Xapti

3:55 pm on Jul 27, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



min-height. IE6 needs javascript to support it though. You can use either an individual work-around script or something like IE7.JS

[edited by: Xapti at 3:55 pm (utc) on July 27, 2007]