On Aug 17, 2006, at 2:15 AM, Bill Moseley wrote: > In Safari this page: > > http://hank.org/demos/fieldset.html > > Looks like this: > > http://hank.org/demos/safari.png > > It's the float: left that seems to get the checkboxes out of the flow > of the <fieldset>. > > Why doesn't the fieldset contain all the checkboxes?
I see you already fixed it. For the *why*: in Firefox and Opera, a fieldset establishes a new block formatting context [1], which, by definition, contains the floated objects/elements. Safari (and iirc Konqueror), iCab and iExploder don't do that. That is a bug in those browsers, imho. For more on form controls and block formatting contexts, there is an interesting bug in Gecko's Bugzilla: <https://bugzilla.mozilla.org/show_bug.cgi?id=342531> read through the comments for explanations and definitions. Rendering of one the testcases as seen in a recent Gecko trunk build (what will be Firefox 3.0): <http://dev.l-c-n.com/_img/Gecko-342531.png> [1] <http://www.w3.org/TR/CSS21/visuren.html#block-formatting> <http://dev.l-c-n.com/IEW/simulations.php> Philippe --- Philippe Wittenbergh <http://emps.l-c-n.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/