But #content is the parent of the two floated elements, and "clear" rules aren't inherited, so it doesn't affect what's nested.
Or is this just a MacIE5 bug? -- Cameron Adams W: www.themaninblue.com --- Philippe Wittenbergh <[EMAIL PROTECTED]> wrote: > > On Jul 20, 2004, at 4:32 pm, Cameron Adams wrote: > > > This page: > > > > > http://www.webpublishing.com.au/dev/dsto/project.htm > > > > > > > > works fine in everything (Win IE 5+, FF, Opera, > > Safari) EXCEPT Mac IE 5. > > > > It has a problem with 2 floats: the major float of > the > > sidebar, and also the float of the image in the > main > > content. It seems to clear them, though there's no > > such rule. > > > > The file containing the structural layout is: > > > > > http://www.webpublishing.com.au/dev/dsto/css/main.css > > > > > > > > But I'm serving up different styles for Mac IE > using: > > > > > http://www.webpublishing.com.au/dev/dsto/css/macIE5.css > > <http://www.l-c-n.com/IE5tests/float2misc/#fm002> > > You declare on div#content {clear:both} > This breaks the floated thing inside #content. > > One solution is to insert a clearing div just before > div#content > > Philippe > ---/--- > Philippe Wittenbergh > now live : <http://emps.l-c-n.com/> > code | design | web projects : > <http://www.l-c-n.com/> > IE5 Mac bugs and oddities : > <http://www.l-c-n.com/IE5tests/> > > ***************************************************** > The discussion list for > http://webstandardsgroup.org/ > See http://webstandardsgroup.org/mail/guidelines.cfm > for some hints on posting to the list & getting help > ***************************************************** > > > __________________________________ Do you Yahoo!? Vote for the stars of Yahoo!'s next ad campaign! http://advision.webevents.yahoo.com/yahoo/votelifeengine/ ***************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help *****************************************************
