- From: <pdf@bizfon.com>
- Date: Mon, 10 Jul 2000 14:45:59 -0400
- To: www-style@w3c.org
I have been using the "Master List" ( http://webreview.com/wr/pub/guides/style/mastergrid.html) to determine which CSS attributes worked for each browser. However, I have found a bug that is not listed there and was wondering if there is any other compatability lists available regarding CSS. The bug is this: In Netscape 4.08 (not that I would ever use such a crappy browser), if you have a table surrounded by a CENTER tag, the table will be centered. However, if you then use style sheets and create a class that will right align all text, and you assign this class to each TD, the CENTER tag seems to be ignored and the table is left aligned. Below is an example of this behavior (this works correctly in IE). If you remove the class assignment from the TD tags, the table is centered, but as soon as you add them, it get screwed up. Also, if you keep the class assignment, but remove the first <TR> through it's closing </TR> then the page is aligned properly. <html> <head> <title></title> <style type="text/css"> .lib { text-align: right; background-Color: #eeeeee;} </style> </head> <body> <CENTER> <TABLE BORDER="1"> <TR> <TD COLSPAN="2" class="lib"> test1 </TD> </TR> <TR> <TD COLSPAN="2" class="lib"> test2 </TD> </TR> <TR> <TD WIDTH="50%"> <A HREF="Home.html">Home</A> </TD> <TD> <A HREF="Home.html">Home</A> </TD> </TR> </TABLE> </CENTER> </body> </html>
Received on Monday, 10 July 2000 14:46:09 UTC