IE background color is not working

Share this Article :


If you are facing problem with IE background color
for ex: in css you have declared the background-color property but it is working fine in FF or MOZILLA  but not in IE

in that case here is the simple work out which can solve your problem of not working background-color in IE

Solution :
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML
1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/
xhtml1-transtitional.dtd”>

simply  replace your existing  <doctype > to the above

In most of the cases  problem will be solved

Written by adrevol

{adrevol has written 91 posts on ITTreats.com . See all posts by }


Leave a Reply