NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 637 - Advice for border="1" should say to use CSS
Advice for border="1" should say to use CSS
Status: RESOLVED FIXED
Product: Validator.nu
Classification: Unclassified
Component: General
HEAD
All All
: P2 enhancement
Assigned To: Nobody
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-09-03 12:29 CEST by Simon Pieters
Modified: 2009-12-01 10:17 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:29:23 CEST
"Error: Bad value 1 for attribute border on element img: Only 0 is a permitted zero literal."

This reads as advice to use border="0" instead. However, that will still produce a warning, and the author probably wants the border. So it would be more helpful if the message said to use CSS instead.
Comment 1 Michael[tm] Smith 2009-12-01 10:17:52 CET
(In reply to comment #0)
> "Error: Bad value 1 for attribute border on element img: Only 0 is a permitted
> zero literal."
> 
> This reads as advice to use border="0" instead. However, that will still
> produce a warning, and the author probably wants the border. So it would be
> more helpful if the message said to use CSS instead.

As a result of recent changes for other bugs, it does now (it reports both the error and the warning and advice to use CSS instead).