matthisco
Member
Posted 3 months ago #
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
That's CSS 2 - not CSS 3 - and it should work just fine in IE9.
matthisco
Member
Posted 3 months ago #
Sorry my bad, is there a way I can get css2 to work in IE 6?
Thanks again
wpismypuppet
Member
Posted 3 months ago #
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/
matthisco
Member
Posted 3 months ago #