On 11/29/11 6:04 AM, Jukka K. Korpela wrote:
2011-11-29 12:28, dave higgs wrote:

> On the six button menu at www.autobarn-cars.co.uk I see boxes around my links in IE8.
> They are not there in Firefox or Chrome.

The reason is that browsers traditionally draw borders around images that are links or, more exactly, for any <img> element that is inside an <a> element that has an href attribute. Some browsers have abandoned the tradition.

To suggest that no such border be drawn, use

img { border: none; }

in your stylesheet.

Yucca

P.S. The tradition was based on the idea that users need to see that an image is a link from its appearance. The border color also reflects the state of the link (unvisited, visited, active, hovered). But authors did not like this idea in situations where they thought that it was obvious which images are links


Above +1.
<aside>
You may want to fix your broken doctype.
~d










--
Desktop. Laptop. Tablet. Mobile!
http://chelseacreekstudio.com/

______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
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