View Full Version : why dose IE not execute the Background command?

09-10-2007, 11:50 AM
Why dose IE not run this command?

<style type="text/css">
body {
background-color: #000000;

Firefox does, but Opera and IE both show a white background.

09-10-2007, 12:54 PM
There's no reason IE would not apply this style.
You have something else on your page telling IE to display a different background, or your HTML structure is boken.
It's a complete valid CSS style which IE has supported for years.

09-11-2007, 01:03 AM
i have experienced a problem before in a past project where the bg color in IE5 was not showing.

just use background: #000 url(../images/bgName.gif) no-repeat 0 0;
instead of background-color: