Forum Moderators: not2easy
<a href="somelink.html"><img src="someimage.gif"></a>
img {border: none;}
and a million other permutations that I've tried, always leave the border around the image and it's always blue (so I can't hide it by coloring it like the background).
Any pure CSS solutions.
Thanks
Tom
a:link {
border:none;
}
That does the trick for linked images in NN4.
a:link {
border:none;
}
Tried that and tried it with properties
border
border-width
border-color (to match background)
border-style
And I applied them to the tags
a
a:link
img
And I also checked to see whether I could set it with Javascript Styles using
tags.a.border = 'none'
tags.img.border = 'none'
tags.*.borderWidth = '0px'
tags.*.borderStyle = 'none'
Nothing works in NS4.5. I know support is a bit better in NS4.7, so it may work there. I sort of use 4.5 as the acid test for backward compatibility, but I think this is just beyond what it can handle without <img src="file.gif" border="0">
Cheers,
Tom