NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 636 - Advice for border="0" doesn't work for IE6
Advice for border="0" doesn't work for IE6
Status: RESOLVED FIXED
Product: Validator.nu
Classification: Unclassified
Component: General
HEAD
All All
: P2 enhancement
Assigned To: Michael[tm] Smith
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-09-03 12:24 CEST by Simon Pieters
Modified: 2009-12-01 10:00 CET (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Pieters 2009-09-03 12:24:18 CEST
"Warning: The border attribute is obsolete. Consider specifying a img, img[usemap] { border: 0; } in CSS instead."

This ruleset will be dropped in IE6 because it doesn't support attribute selectors.

The following is sufficient:

img { border: 0; }
Comment 1 Michael[tm] Smith 2009-12-01 10:00:06 CET
(In reply to comment #0)
> "Warning: The border attribute is obsolete. Consider specifying a img,
> img[usemap] { border: 0; } in CSS instead."
> 
> This ruleset will be dropped in IE6 because it doesn't support attribute
> selectors.
> 
> The following is sufficient:
> 
> img { border: 0; }

syntax r503
http://whattf.browse.cvsdude.com/syntax?view=rev&revision=503

changed to what you suggested, but I wonder if we actually might want to go ahead and just change it to say, "Use CSS instead" with the hyperlink to the Wiki page you created.