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

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

From: Sungwook Woo <invu@am.co.kr>
Date: Sat, 27 Apr 2002 11:46:49 +0900
Message-ID: <003701c1ed95$d9ca5330$866f71bf@invu>
To: <cewalker@kingston.net>, "Bob Rosenberg" <webmaster@rockmug.org>
Cc: <www-validator@w3.org>
Hi,

If even 'div align' tag has deprecated,
how about this?

<table>
  <tr>
    <td align=center>
      <table><!--the table that you want to make-->
      </table>
    </td>
  </tr>
</table>

Sungwook Woo
invu@am.co.kr
  
----- Original Message ----- 
From: "Charles Walker" <cewalker@kingston.net>
To: "Bob Rosenberg" <webmaster@rockmug.org>
Cc: <www-validator@w3.org>
Sent: Saturday, April 27, 2002 11:41 AM
Subject: Re: Centring Tables in HTML 4.01 Strict...?


> Hi Bob,
> 
> Yup, <div align="center"> is deprecated.  
> See http://www.w3.org/TR/html401/index/attributes.html26/04/2002 .
> 
> Charlie Walker
> cewalker@kingston.net
> 
> ----------------------------
> 10:21:33 PM, Bob Rosenberg <webmaster@rockmug.org> wrote:
> 
> >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:48:13 GMT

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