W3C home > Mailing lists > Public > www-validator@w3.org > April 2002

Re: Centring Tables in HTML 4.01 Strict...?

From: Bob Rosenberg <webmaster@rockmug.org>
Date: Fri, 26 Apr 2002 22:21:33 -0400
Message-Id: <p05111603b8efbb0bd6d6@[192.168.1.3]>
To: cewalker@kingston.net
Cc: "'www-validator@w3.org'" <www-validator@w3.org>
At 16:46 -0400 on 04/21/2002, Charles Walker wrote about Centring 
Tables in HTML 4.01 Strict...?:

>Hi,
>
>I've got a question that has been bothering me for a while now.  The 
>HTML 4.01 Strict specifications have declared the "align" attribute 
>of the
><table> tag as deprecated.  HOW are we supposed to centre a table in 
>the browser window?

How about this (or has Strict depreciated the <div align> tag)?

     <div align="center">
     <table> ... </table>
     </div>

-- 
--

Bob Rosenberg
RockMUG Webmaster
Webmaster@RockMUG.org
www.RockMUG.org
Received on Friday, 26 April 2002 22:22:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:03 GMT