View Full Version : solid outline around image links in Netscape and IE

03-07-2004, 12:22 PM
I've seen many people talk of a 'dotted' line that surrounds image tag links, but I'm having a solid line surround my image tag links in Internet Explorer and Mozilla builds. Is this the same thing? Is it a necessary part of the web page then for accessibility... because it's darn ugly:( and I've heard the complaints. I don't know if this is the same element. Thank you!! It's nice to be back;)

example at: http://www.dotfive.com

Safari doesn't show this, Mac IE doesn't show this -- Mac Mozilla builds, and PC IE does. Any ideas?

Mr J
03-07-2004, 01:01 PM
Include border="0" in your image tag

<img src="pic.jpg" border="0">

03-07-2004, 01:07 PM

a img {border:none;}

In your CSS ;)

03-07-2004, 10:53 PM
When I did the CSS version, it didn't work for some reason in Internet Explorer 6 for PC, but the border="0" in the img tag worked fine. Thank you!!

03-07-2004, 10:59 PM
using border="0" may cause your pages not to validate! use:

img {
border: 0px;

I have had problems with "none" before, but this always works. (for me at least)

03-08-2004, 02:18 AM
Hmmm, that's interesting, but yes - that worked, and I would rather have CSS control over placing those elements in the XHTML -- thank you missing-score!