W3C home > Mailing lists > Public > www-validator@w3.org > May 2003

FW: MarkUp Validation Service Problem

From: Denis Boudreau [ CYBERcodeur.net ] <denis@cybercodeur.net>
Date: Mon, 26 May 2003 14:00:48 -0400
To: <www-validator@w3.org>
Message-ID: <000101c323b0$bcefbc30$9b09fe40@denisoxce8yqnh>


> > -----Original Message-----
> > From: www-validator-request@w3.org
> > [mailto:www-validator-request@w3.org] On Behalf Of H. Ray Battels
> > Sent: 26 mai, 2003 13:21
> > To: www-validator@w3.org
> > Subject: MarkUp Validation Service Problem

> > RE: MarkUp Validation Service
 
> > In the following "form" data I can't get vlidation for the
> > term: border="0".
 
> > <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr"
> > method="post">
> > <input type="hidden" name="cmd" value="_cart">
> > <input type="hidden" name="business"
> > value="Sales@timeofday.us"> <input type="image" 
> > src="https://www.paypal.com/images/view_cart.gif"
> > border="0" name="submit" alt="Make payments with PayPal - 
> > it's fast, free and secure!"> <input type="hidden" 
> > name="display" value="1"> </form>

> > The validator says:

> > Line 41, column 77: there is no attribute "BORDER" (explain...).

> > I am sure there is a border attribute in the image tag, isn't there?

While there *IS* a border attribute that exists in the specs 
for the img element, it is not allowed in (x)html strict 
because it referes to presentation. It should therefore be 
handled by CSS instead.
 
Denis Boudreau
CYBERcodeur.net
Received on Monday, 26 May 2003 14:07:29 GMT

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