Background Image not showing in IE works fine in FF

This will be a great tip and will cut down on debugging time. This took me about an hour and a half to figure out. So here it is. This is unbelievable!

write your background css as follows:

background: url(path to image) repeat-x left center;

NOT:

background: url(path to image)repeat-x left center;

You have to have a space right after the last parentheses of the image path or IE will not display it. How crazy is that !


Leave a Reply

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

*