homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

Veritcal gap between divs in IE6
Solution posted for those still coping with IE6

10+ Year Member

Msg#: 4012079 posted 8:20 am on Oct 23, 2009 (gmt 0)

Ie 6 is beginning to fade into bad memory - but it is till out there - especially at corporate locations where legacy applications have not been updated. Mostly, it doesn't cause me a problem, I have a standard bunch of tricks I call up in a separate CSS file by conditional statement. However, I did get caught out today by a small gap between the main body of a vertically listed navigation menu, and the foot of it - held in a div with just an image in the background. After a fair bit of digging around, I found that IE6 did not like a div being opened and closed with no content. Dropping in a comment cleared the problem.

<div id="menufooter"><!-- comment eliminates gap in ie6 --></div>

Just thought I'd drop in this note; IE6 is still a PITA.


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved