>
> 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
There are some more different ways using css hacks, which exploits
browser bugs, just like the example above:
#element {
min-height:500px;
}
* html #element
height:500px;
}
Alternativly you could use Conditional comments, which define a seperate
stylesheet for modifications that you use for a specific IE Version.
http://www.quirksmode.org/css/condcom.html
Before you resort to either hacks or conditional comments, be aware to
use them scarcly! Normaly you should not have to rely on either. Check
your layout before and see if you can make it with markup that does not
server either.
regards, Jens
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/