Skip to content

image links

Levers, pulleys, widgets, computers, and other gearhead talk.

Moderators: arclight, happywaffle

  • User avatar
  • kristin Offline
  • Posts: 618
  • Joined: February 7th, 2006, 1:30 pm

image links

Post 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?

Post 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?
"Have you ever scrapped high?" Jon Bolden "Stabby" - After School Improv

http://www.improvforevil.com
  • User avatar
  • kristin Offline
  • Posts: 618
  • Joined: February 7th, 2006, 1:30 pm

Post by kristin »

I didn't want a border, so this works perfectly. Thanks a bunch.
Post Reply