Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Image Links

Guest
Jul 13, 2007 Jul 13, 2007
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?
TOPICS
Server side applications
342
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 13, 2007 Jul 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.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 13, 2007 Jul 13, 2007
LATEST
.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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines