PDA

View Full Version : IE text-decoration with images problem



techjosh
04-24-2009, 11:20 AM
It appears I require assistance again. This time, (In IE only) I'm finding I can't get rid of the blue border around image links to it's nice and clear (or transparent, or white.) It works in every other browser (as usual.) Here's the link. Thanks in advance for any help. Note that I'm attempting to use text-decoration: none. Seems to work for text but not for images (only with IE.)

http://www.offkeyweb.com/jurassic/type.html

If necessary, the style sheet can be found here

http://www.offkeyweb.com/jurassic/styles.css

felgall
04-24-2009, 02:56 PM
You need to apply text-decoration:none to the <a> tag surrounding the image to remove the blue border.

techjosh
04-24-2009, 11:52 PM
Tried text-decoration: none around the a tag instead, then tried with the a tag AND the img tag, and no luck :(

felgall
04-25-2009, 01:08 AM
The following will fix it:


a img {border:0}

techjosh
04-25-2009, 05:10 PM
Sweet it works now. Adding a

img{border: 0}
did the trick. Your the man!