2010/3/28 Bob Bob <superjunkymon...@live.com>: >... > Is it bad practice to nest floats with the "width:auto" & "float:left" on the > container + "float:right" on the child? I've read that every browser handles > this differently but, on a test case, IE8 + FF3.6 + Opera 10.51 have the same > results. It is outdated information? :) > > If it's ok to nest floats, how can I fix the problem elegantly in older > browsers? > ( http://css-class.com/test/bugs/ie/float-auto-width-expansion-bug.htm )
It is ok to nest floats. For IE7 and IE6, a widthless container float with layout descendants might not shrink to fit. http://dev.l-c-n.com/IEW2-bugs/shrinkwrap.php There is no elegant solution, so you'd have to post an URL of your page in question. Thanks, Ingo ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/