Hyperlink Border on Images

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have images in my page. The images are also hyperlinks.
When viewed online, the images contain a blue border indicating a hyperlink.

How can I make the blue outline go away while retaining the hyperlink?
 
There is a property on an image called border. By default, the browser
assumes this to be a 1. Set this to zero and there won't be a hyperlink
border around the image.
 
By default, the browser assumes this to be a 1

Not so. The border on an image only kicks in when the image is a link.
Set this to zero

Using the border="0" attribute/value pair will cause your page not to
validate in a strict doctype. Using the CSS will allow that to happen.
 
Back
Top