simcoweb Posted October 21, 2008 Share Posted October 21, 2008 I’m having trouble with the icons showing in IE. This works great in FF, however. I’m wondering if IE needs a specific doc type statement or if there’s another reason why these won’t show? I'm using the CSS selectors which I snagged from a blog site and the icons were visible in IE. Here's my code. This provides an icon for every PDF file. a[href$=.pdf] { display:inline-block; padding-left: 32px; padding-top: 5px; background: transparent url(/images/pdf_icon.gif) no-repeat center left; } On this page: http://www.calcounties.com/buyer-seller.php The icons show in FF but not IE. Ideas on this? Quote Link to comment Share on other sites More sharing options...
wrongmove18 Posted October 21, 2008 Share Posted October 21, 2008 a[href$=.pdf] is not supprted by IE6.. please refer to http://www.quirksmode.org/css/selector_attribute.html Quote Link to comment Share on other sites More sharing options...
simcoweb Posted October 22, 2008 Author Share Posted October 22, 2008 Yes, true. But most are using IE 7 thanks to auto-updates Quote Link to comment Share on other sites More sharing options...
haku Posted October 22, 2008 Share Posted October 22, 2008 Not sure where you got that information from, but there are still huge numbers of people using IE6. Quote Link to comment Share on other sites More sharing options...
simcoweb Posted October 22, 2008 Author Share Posted October 22, 2008 They are not my concern. For those persons they will see just the list. For the ones using IE7 they'll see the pretty little icons like they're supposed to. Our stats show the majority of our visitors are using IE7. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.