Hyperlink Border on Images

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

Mark Fitzpatrick

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.
 
M

Murray

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top