Re: Claims there is not attribute "border"

Lachlan Hunt <lachlan.hunt@lachy.id.au> wrote:
> The easiest way to remove unwanted borders from images (which typically 
> appear in some browsers when the images are links) is to use CSS to 
> remove them.  I find this rule effective in the majority of cases:
> 
>   a img, img[usemap], object[usemap] { border: 0; }
> 
> However, it doesn't handle images used as image maps in IE because IE 
> doesn't support the attribute selector.

Why not just:

  img, object { border: none }

?

Received on Tuesday, 27 June 2006 21:49:30 UTC