FW: MarkUp Validation Service Problem

> > -----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 UTC