Adriano Castro wrote:
>>but Mozilla doesn't adjust the height of the "container" div. I'm a bit
>>lost here.
>>
>>I think my problem is the one defined on PIE's "How To Clear Floats
>>Without Structural Markup" [2] but having tried the proposed solutions I
>>still can't get it to work.
>>
>>Ideas?
>>
>>2. http://www.positioniseverything.net/easyclearing.html
>
Adriano,
Simply lose the height settings (as Zoe's said) then add the CSS from
[2] (above), applying it to your div#container like so:
div#container {
width: 800px;
margin: 66px auto 0px auto;
padding: 33px 25px 33px 25px;
color: white;
background-color: #756F65;
}
div#container:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
div#container {display: inline-table;}
/* Hides from IE-mac \*/
* html div#container {height: 1%;}
div#container {display: block;}
/* End hide from IE-mac */
regards,
Stuart
______________________________________________________________________
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/