Isn't CSS about seperating presentation from content? You apply it once in your 
CSS as opposed to multiple times in your HTML.

In actual fact, if you're only developing for IE6+, Firefox 2+, Webkit 
Browsers, Opera, you only need the overflow:auto; usually.



-----Original Message-----
From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] On 
Behalf Of Chris F.A. Johnson
Sent: Monday, February 09, 2009 8:45 AM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] Implication of empty divs

On Mon, 9 Feb 2009, Benjamin Hawkes-Lewis wrote:

> On 9/2/09 07:45, Chris F.A. Johnson wrote:
>> How can CSS overflow replace <div style="clear:both;"></div>?
>
> See http://www.ejeliot.com/blog/59

      Thanks, but I find the extra DIV no more objectionable than the
      hackery and extra CSS described in that article.

--
    Chris F.A. Johnson, webmaster         <http://woodbine-gerrard.com>
    ===================================================================
    Author:
    Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************





*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************

Reply via email to