Dan Moriarty wrote:
> I¹m fairly new to this, and have read about the box model problem for
> IE 5, but this isn¹t working for IE 6. Here¹s the URL:
> http://danmoriarty.com/subsites/invision/collections/
It's the IE/win 'hasLayout'[1] bug/feature that's creating problems.
Solution: don't set dimensions on the non-floating element that is
supposed to *flow* upwards and rest on its margins.
The width will default to 'auto', and will fill the outer container - as
it already does in other browsers.
#collection_content{
margin-left:160px;
width:582px; <-------- delete this width
padding-top:30px;
background: #fff;
text-align:center;
color:#000;
}
Another alternative is to delete 'margin-left' and declare 'float: left'
(or right) on that container. Always good to have choices :-)
regards
Georg
[1]http://www.satzansatz.de/cssd/onhavinglayout.html
--
http://www.gunlaug.no
______________________________________________________________________
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/