On 14 Jun 2005, at 10:31 am, Bruce Gilbert wrote:
Specifying height for a container div, soesn't seem to want to work
the Div CSS in question is:
#main_content{
background:#fff;
min-height: 540px;/* set here min height */
height: auto !important;/* overwrite the height */
height: 540px;/* this is also the min height for IE */
border:5px solid #999;
width:750px;
}
the div only wants to extend to the amount of content and not to the
height given for the div. An example would be
http://www.inspired-evolution.com/Portfolio.php IAFAIK) this is only
occuring on Mac IE-5.
* IE Mac doesn't support 'min-height'.
* It does support 'height' correctly, and doesn't treat it as
'min-height'.
* AND it will listen to your ---> height: auto !important;
by using the !important statement, you override the next line in your
ruleblock.
Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com/>
______________________________________________________________________
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/