Re: Bug in img tag?

On Mon, 2003-02-17 at 12:56, Melle Boersma wrote:

> Line 17, column 26: there is no attribute "border" (explain...).
>    <img src="foobar" border="0" alt="alt tag" />
> 
> Replacing it with style="border:0px" works fine.
> 
> is the border attribute being deprecated??

Kind of, yes, but it depends on your doctype.  The border attribute to
img does not exist eg. in ISO-HTML or XHTML 1.0 Strict, but does in
XHTML 1.0 Transitional.

-- 
\/ille Skyttä
ville.skytta at iki.fi

Received on Wednesday, 19 February 2003 13:53:21 UTC