Re: errors

On Sat, 5 Mar 2005, Paran Subra wrote:

> their's a couple of errors on this validator machine...
>  
> when I tried aligning the table using ...
> <table width="..." border="..." cellspacing="..." cellpadding="..."
> align="center">
>  
>  
> that didn't work so I tried using the <div> tag like so...
> <div align="center"><table .......>
> ...................
> </table></div>
> but it says there is no attribute called 'align'.
>  
>  
> also when I was using the <img> tag it wouldn't support the 'border'
> attribute...
>  
> and one more thing.......
> <td width="...">
> doesn't work either.

Those attributes are all deprecated in favour of style sheets.  They may
be used in HTML 4 Transitional or XHTML 1.0 Transitional but not HTML 4
Strict or XHTML 1.0 Strict.

-- 
Liam Quinn

Received on Monday, 7 March 2005 04:59:11 UTC