Hello, Thank you for responding and letting me know. I somehow chopped up my source pasting it into the email. I have managed to get a link up as an example. Please take a look at: http://www.kilby.info/test.xhtml. You should be able to see that the border of the div starts below the first floated div with IE6. With FF 1.5 the border contains all of the divs. So, my question is if this is a known bug with IE6 or some misunderstanding of the code on my part.
Thanks Steven "Jim Nannery" <[EMAIL PROTECTED]> 06/11/2006 08:34 AM To [EMAIL PROTECTED], css-d@lists.css-discuss.org cc Subject Re: [css-d] Problem with cleared float in non-float container Morning Steven You wrote > Hello, > > This is my first post. I've read the policies, searched the archives and > google'd, so I hope no one gets upset if this is a duplicate. I've > created a trivial example of my problem: > > CSS: > > #outer > { > : 10px; > : 10px; > : 1px solid blue; > } <snipped a bit> > XHTML: > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" <snipped a bit more> > <title>Enter the title of your XHTML document here</title> > <link rel="stylesheet" href="test.css" type="text/css" /> > </head> > <body> > <div id="outer"> > <div> > <label id="lf1" for="f1">A very long label > indeed: </label> > <input id="f1"></input> > </div> > <div> > <label id="lf2" for="f2">A very long label > indeed: </label> > <input id="f2"></input> > </div> <pruned heavily> > Thanks > Steven Kilby First, Welcome to CSS Discuss.... the CSS you provided above makes no sense me; #outer { : 10px; <-- 10 px of what? height? width? : 10px; <-- etc : 1px solid blue; <-- I'm assuming this is a border...... and would be properly written, border: 1px solid blue; } Similarly, in the XHTML you have label id="lf1" but that's not in the styles provided. Unless it's in the external link to your real test.css..... which we can't see.... so, looking at the code provided isn't much help.... and any solution offered would only be a wag..... A link to a real page or a test page with the problem would make it easier for the folks on the list to help you solve this problem. Best Jim Nannery owner - www.backporchgames.com ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/