Sure it is. Adding clearing elements, and the ensuing additional CSS (or extra clearing markup), makes code less readable for, in most cases, no good reason. Since overflow: hidden or overflow: auto does the trick, the whole issue of clearing floats becomes essentially a non-issue, and saves extra markup.
On 7/17/06, Ingo Chao <[EMAIL PROTECTED]> wrote: > > Yehuda Katz wrote: > > Essentially, I created a set of CSS Formatting guidelines designed to > get > > designers to create readable CSS that other designers could quickly get > up > > to speed on. > > > > The "spec" is available in PDF form at > > http://www.yehudakatz.com/CSSf-1-5-1-Spec.pdf. > > > > "The purpose of the CSSf specification is to provide a standard way to > write CSS that will be consistent and readable." > > > "b. Use > overflow: auto or overflow: hidden, not clearing elements, to clear > floats where possible." > > I do not see why a specification that is about readability tries to > prescribe what technique I should use, even if the author of the > specification possesses evidence that he knows the best technique, which > would be a separate discussion. This is not about formatting. > > Ingo > > -- > http://www.satzansatz.de/css.html > ______________________________________________________________________ > 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/ > -- Yehuda Katz Web Developer (ph) 718.877.1325 (fax) 718.686.4288 ______________________________________________________________________ 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/