Re: table alignment; how to write

by Andrew McFarland <aamcf(at)>

 Date:  Thu, 14 Mar 2002 18:17:06 +0000
 To:  <hwg-techniques(at)>
 References:  localhost
  todo: View Thread, Original
At 17:07 13/03/02 -0800, Deborah Shadovitz wrote:
>For a table alignment, be it left, right, or center, is it better to write:
><table align="center">
><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 Both are deprecated, but the latter 
can cause some oddness in IE 6.

>I've looked at the w3c site but can't find the verification I'm seeking. is probably what you are 
looking for.



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