css3 Icon Logo
me@grafxflow

Written by me@grafxflow

10 Feb, 2010

0

1,711

Spaces appearing between Div tags in IE6

This is a very well known issue with Internet Explorer 6.

You will have a template with a simple content, header, menu and footer div tags.

It will look great in Firefox, Safari and IE 7 and 8... but the problem is in IE 6. You will be seeing some strange gaps between the div tags.

/* Class for clearing floats */
.clear {
   clear:both;
}

then place this between your problem div tags

<div class="clear"></div>

Add comment

Smart Search

132 Following
50 Followers

me@grafxflow

Hull, United Kingdom

I am a Full-stack Developer who also started delving into the world of UX/UI Design a few years back. I blog and tweet to hopefully share a little bit of knowledge that can help others around the web. Thanks for stopping by!

Follow