I don't suppose there's a similar trick to get IE to do a "max-width" 
property?

On Thursday 03 November 2005 10:19 am, Justin Reid wrote:
> the best way to do this is to give IE a height value equal to the
> minimum height that you want, in this case 300px; IE uses the height
> value just like a min-height already, and if contents stretch beyond
> it's height value then that container will still continue to stretch.
> Then what you then need to do is override that height value for other
> browsers, because the will not stretch the container's height for its
> contents. for example:
>
> .box
> {
>    height: 300px; /* ie's min-height equivalent */
>    min-height: 300px;
> }
>
> /* this uses the first child selector that IE doesn't understand to
> remove height restrictions */
> html>body .box
> {
>    height: auto;
> }
>
>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to