Page 1 of 1

image links

Posted: February 24th, 2008, 4:13 pm
by kristin
I've got the css tags to customize a:link, a:visited, a:active, a:hover and that works fine for text, but image links don't seem to be affected. An image that also happens to be a link shows up with a border of my defined color in firefox, with a default purple color in IE, and with no border at all in Opera.

What's the trick?

Posted: February 24th, 2008, 4:22 pm
by vine311
You need to put border="0" in your image tag to get rid of the border. Like this...

<img src="path_to_image.gif" border="0" />

Did you want a border on your images? Are you just trying to get the color to show up consistently?

Posted: February 25th, 2008, 10:23 pm
by kristin
I didn't want a border, so this works perfectly. Thanks a bunch.