Previous Message
Next Message

(no subject)

Sent by Melianor on 9 June 2008 22:10


Lee Bettridge wrote:
> Hello,
>  
> Is there a way to set a min-height in IE6 so that an element can grow if the text size is
increased, the method needs to be compatible with IE7 and Firefox / Safari / Opera.
>  
> Thanks.
> ______________________________________________________________________
> css-discuss [EMAIL-REMOVED]]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> List policies -- http://css-discuss.org/policies.html
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

div.test {
  	min-height:100px;
  	height:auto !important;
  	height:500px;
}

Across IE7, FF 2,3, Opera and Safari this will trigger min-height just 
fine. IE6 will just play along with the height that has been given 
through the height attribute and will expand further, once the content 
reaches the height.

regards, Jens
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: