CSS Background not showing in IE

I searched for a while, and could not find out why places.ae wasn’t showing it’s background in IE, but it was showing it in Firefox (didn’t check other browsers).

Apparently, I had a “mistake” in my CSS files, and IE seem to trap more on this than firefox. I had the following line:


#city{ background:url(http://img.places.ae/p2bg.jpg)repeat-x scroll left top; width:100%; height:208px;}

And the missing space aftedr the url() parameter, prevented IE from showing the background. Just a quick tip in case you run into the same problems.


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *