Skip to main content
July 13, 2007
Question

Image Links

  • July 13, 2007
  • 2 replies
  • 342 views
I have four images on my Home page with a border width of 1. When I make the images link to other pages, they display with a pink border (I believe this is because on my page properties, I have the Link Color set to #990000, which is a maroon color). I want to keep the link color for text, but not outline these image links. Is there a way?
This topic has been closed for replies.

2 replies

Inspiring
July 13, 2007
.oO(Doooza)

>Set the border of the image to 0

Better remove the attribute completely, it's deprecated and not needed
anymore.

>then add some CSS to add the border to it in the colour you want.

This "some CSS" would be

a img {border: 0}

to remove all borders from images that are used within a link.

Micha
July 13, 2007
Set the border of the image to 0, then add some CSS to add the border to it in the colour you want.