Re: table alignment; how to write

by Andrew McFarland <aamcf(at)aamcf.co.uk>

 Date:  Thu, 14 Mar 2002 18:17:06 +0000
 To:  <hwg-techniques(at)hwg.org>
 References:  localhost
  todo: View Thread, Original
At 17:07 13/03/02 -0800, Deborah Shadovitz wrote:
<snip/>
>For a table alignment, be it left, right, or center, is it better to write:
>
><table align="center">
>or
><div align="center">

There isn't much in it, but I'd say the former. Both DIV and TABLE have the 
align attribute in XHTML 1.0 Transitional, and neither has it in XHTML 1.0 
Strict (see http://aamcf.co.uk/html/). Both are deprecated, but the latter 
can cause some oddness in IE 6.

<snip/>
>I've looked at the w3c site but can't find the verification I'm seeking.

http://www.w3.org/TR/html4/index/attributes.html is probably what you are 
looking for.

Andrew

--
http://aamcf.co.uk/

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA