CSS Background-Image Property Unsupported in XP

Was just working on interface of my application last night, and had to make few changes for background of buttons. I used background-image CSS property for setting the images for my buttons, everything looked fine untill I tried to access the application on Windows XP. Oh ! no background is displayed on XP.

Interestingly its a known Bug in Internet Explorer 6.0 which uses windows XP themes to render its controls, now thre are a couple of solutions to this, one is to use background istead of background-image and other is to include this

<meta http-equiv=”msthemecompatible” content=”no”>

to disable XP themes on the page.



One thought on “CSS Background-Image Property Unsupported in XP

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s