W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 2001

getting centered tables

From: John Russell <ve3ll@rac.ca>
Date: Mon, 16 Jul 2001 14:37:45 -0400
To: www-amaya@w3.org
Message-ID: <3B52FC39.2165.FEB48D@localhost>
well i found only msie would center tables with text-align:center
  maybe tables are not considered text??

so i tried a different tact  
table {margin-left:auto; margin-right:auto}
this works for opera and netscape
so if i combine what works for msie with this i can
get these three to center a table.....  but no luck
with amaya --- only way is to regress to html attributes
which is going against the separation of structure from 
presentation concept ...  is this a bug that can be fixed???

John Russell, VE3LL@RAC.CA
http://www.cgocable.net/~jrussel

Be sure to check your HTML markup code
tags by using http://validator.w3.org or
http://www.htmlhelp.com/tools/validator/
Received on Monday, 16 July 2001 14:37:15 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:34 UTC