Rahul Gonsalves wrote: > Well Mike, if you're clearing multiple elements, it might be easier to > do with just a couple of lines of CSS, rather than updating the HTML all > over the place. >
Right. This is why I never use the old-school clearing div method any more. I very quickly get these extra divs all over the place, that can very easily be inadvertently be removed by non-tech people editing my pages in DW or Contribute. > The other way to do float clearing is to specify overflow: hidden, and a > hasLayout trigger of your choice. > > http://www.quirksmode.org/css/clearing.html > > I would like to hear from people with more experience about whether this > is a less than optimal way of doing things? > I sometimes have problems with setting overflow. Sometimes it causes scrollbars to appear in IE or older versions of Netscape. Other times I can't use it because I don't want to establish a block formatting context. But most of the time, it works. I either use overflow or I use the "Easy Clearing" method. Zoe -- Zoe M. Gillenwater Design Services Manager UNC Highway Safety Research Center http://www.hsrc.unc.edu ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- 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/
