W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 1999

HTML deprecation

From: Neff, Robert <Robert.Neff@usmint.treas.gov>
Date: Wed, 24 Mar 1999 11:20:58 -0500
Message-ID: <889F7DA718D5D21185B900104B768D5706E204@WDCSRV01.usmint.treas.gov>
To: "'w3c-wai-ig@w3.org'" <w3c-wai-ig@w3.org>

Here is a gotcha. Any ideas?  

Trying to use HTML 4.0 but make it backward compatible with HTML 3.2.

Trying to center a table here, and both <CENTER> and <DIV=CENTER> are
deprecated
in HTML 4.  The 4.0 spec says to use <TABLE ALIGN=CENTER>, but this is not
read
by many lower-version browsers.

So if we stay within spec, we'll lose visibility on the lower-version
browsers.

Any ideas on how to get around this?  

How about using both tags where necessary, thereby conforming to the HTML 4
spec while permitting lower-level browsers to see the format
properly.  So, the table would be:

<CENTER>
  <TABLE ALIGN=CENTER>
      etc etc etc
  </TABLE>
</CENTER>


Would this be acceptable?   Could try the <P ALIGN=CENTER> angle, which is
supported in 4.0 spec, but I seem to recall lower-version browsers having a
problem with that one too....

Thanks,rob
Received on Wednesday, 24 March 1999 11:21:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:13:43 GMT