2011-06-26 2:59, Brian M. Curran wrote:

For some reason in Firefox I could still see
the border when hovering, after using your code. Therefore I did this, and
it's working now:

.textBoxRight a {color: #000;}

.textBoxRight a img {border: none;}

I have no idea why setting border to none didn't suffice (as it

The effect is that now there is no visual hint of there being a link in the first place. So wouldn't it have been simpler to remove the link markup <a ...> and </a> around the <img> element? Assuming that you don't really want the link to be followed.

A colored border, with the colors of link (normally different for visited and unvisited) is the browsers' classical default way of indicating an image as a link. It is normally simple to remove it, but how would you then make people see that there is a link?

Incidentally, it seems that on Firefox 4, I don't see a border around an image that is a link, by default. It seems that authors need to set the border explicitly if they want it.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to