W3C home > Mailing lists > Public > www-validator@w3.org > June 2006

Re: Claims there is not attribute "border"

From: Jon Ribbens <jon+www-validator@unequivocal.co.uk>
Date: Tue, 27 Jun 2006 22:48:59 +0100
To: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Cc: Parker Kuivila <parkyk219@mac.com>, www-validator@w3.org
Message-ID: <20060627214859.GO26468@snowy.squish.net>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:22 GMT