Closed
Bug 184356
Opened 23 years ago
Closed 23 years ago
Style sheet align=center being ignored
Categories
(Core :: Layout, defect)
Tracking
()
People
(Reporter: arun-public, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2) Gecko/20021126
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2) Gecko/20021126
Since w3.org tells me <DIV align="center"> is deprecated, I've started using a
stylesheet, and it doesn't center the table (the google search at the bottom of
the above page correctly>.
The same page renders fine with IE
Reproducible: Always
Steps to Reproduce:
1. Click on the URL
2. Observe the alignment of the google search box.
3.
Actual Results:
Table aligned left
Expected Results:
Table aligned center.
![]() |
||
Comment 1•23 years ago
|
||
This is a bug in IE. text-align:center aligns text and tables are not text.
You want to use margin-left: auto; margin-right: auto on the table.
*** This bug has been marked as a duplicate of 49274 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•