Search



Saturday, October 3, 2009

IE 6 Space

Recently I was putting together a site for a client that used three divs as the main part of the site. I was trying to keep the code clean and use almost no extra code. The code I used was a div on top with a background image.

However, IE 6 was adding space between all of the divs. So to solve the problem, I extended the bottom of the background image in the top div. Then I extended the top of the background image in the bottom div. Now when IE6 adds the extra space, the background images show in the space and the page doesn't look broken.

blog comments powered by Disqus