Support » Fixing WordPress » CSS3 and Internet explorer – background image

  • Resolved matthisco



    I’m using this to style up links to documents:

    a[href$=".pdf"] {
      background: url(images/pdf.png) no-repeat left center;
      padding: 40px 0 40px 88px;

    Can anyoneplease tell me how I can get it to work in internet explorer?


Viewing 4 replies - 1 through 4 (of 4 total)
  • That’s CSS 2 – not CSS 3 – and it should work just fine in IE9.

    Sorry my bad, is there a way I can get css2 to work in IE 6?

    Thanks again



    No… IE6 does not support this type of reference… you can try one of these methods:

    1. Forgot trying to get this to work in IE6. Microsoft doesn’t even support this browser anymore, so what does that say?

    2. Manually add a class to these tags and get them that way

    3. Use jQuery to add the styles/class name

    4. Try using the IE7.js library to make IE6 act like IE7 and up… may or may not work based on the version of IE you are trying to use.

    Brilliant thanks folks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘CSS3 and Internet explorer – background image’ is closed to new replies.