IE hates Background Colors
Date: 12/21/06
(Web Development) Keywords: css, html
I decided to take a crack and converting my nice tables layout into a div one. And, naturally, I'm running into problems. Take a peek at the following page in IE 6 and FF:
http://www.kriona.net/dml/ie/
http://www.kriona.net/dml/ie/css.css
Putting a background color on the "main" div is what causes this - when removed, Lorem Ipsum shows up great. Question is... why? And how can I fix it? I discovered that I can, instead of specifying a color, make the background a 1x1 pixel image of the appropriate color, and IE does not freak out about this. So why is it going crazy about a background color, but not an image?
Also, the HTML validates, and I tried a different doctype, to no avail.
Source: http://community.livejournal.com/webdev/379135.html