wsg  

Re: [WSG] firefox treatment of wrapper overflow height

David Hucklesby
Fri, 18 Jul 2008 11:41:01 -0700

>>> [EMAIL PROTECTED] wrote:
>>>
>>>> Sorry folks, but am I missing something here?
>>>> Why do you think that it is important to stuff something invisible inside 
>>>> an
>>>> (otherwise) empty div?
>>>>

For some reason, Internet Explorer thinks an empty DIV - "<div></div>" -
contains text, and may create an unwanted gap. Adding a comment
directly between opening and closing DIV tags somehow convinces IE
that the DIV really is empty. Result - no gap.

kevin mcmonagle wrote:
> empty div wont validate right?
> 
 It will.

Cordially,
David
--



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