> Andrew Newman wrote re: using a DIV to enclose floats:
>
>> a little more valid / semantic ....
>>
>> div.clearer {clear: both; line-height: 0; height: 0;}
>>
>> <div class="clearer">&nbsp;</div>
>>

Of course, that will create an extra vertical space in the layout. If that
space is unwanted, you could alternatively use this:

  <div class="clearer"><!-- --></div>

The empty comment prevents this space.

Of course, there are several other ways to enclose floats that do
not require that extra DIV.

Cordially,
David
--



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to