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

  • Resolved matthisco

    (@matthisco)


    HiFolks,

    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;
    
    line-height:60px;
    
    }

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

    Thankyou

Viewing 4 replies - 1 through 4 (of 4 total)
  • esmi

    (@esmi)

    Forum Moderator

    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

    wpismypuppet

    (@wordpressismypuppet)

    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. http://code.google.com/p/ie7-js/

    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.