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

Re: align="center"

From: Gannon J. Dick <gdick@verizon.net>
Date: Thu, 19 Sep 2002 09:27:43 -0500
Message-ID: <001801c25fe8$b7c81630$9eaf2e04@home2>
To: <www-validator@w3.org>
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
 <title>Centering</title>
</head>
<body>
 <div style="text-align:center">
  <table>
     <tr><td>some text</td></tr>
  </table>
 </div>
</body>
</html>

  ----- Original Message ----- 
  From: bronco 
  To: www-validator@w3.org 
  Sent: Thursday, September 19, 2002 12:11 AM
  Subject: Re: align="center"


  so, what can one use to replace align="center" with <div>.  The notes that I see say to use styles instead, but so far have offered no examples.

  it may be a simple technique, but I haven't found one yet.  let's say I want to replace this with <div>

  <body>
  <table align="center">
    <tr><td>some text</td></tr>
  </table>

  what would it look like?

  thanks,
  steve
Received on Thursday, 19 September 2002 10:28:10 GMT

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