Closed
Bug 260328
Opened 20 years ago
Closed 20 years ago
CSS text-align: center aligns everything except <table>
Categories
(Core :: Layout: Tables, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 167685
People
(Reporter: mozilla, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10 Code example: <div id="blah"> hello world <table> <tr><th>xyz</th></tr> <tr><td>abc</td></tr> </table> goodbye world </div> CSS: #blah { text-align: center; } Firefox will render the text in the centre of the DIV, but not the table (it's left aligned)... Reproducible: Always Steps to Reproduce: Actual Results: Screenshots: http://www.realmtech.net/images/TableCentre_Firefox.gif http://www.realmtech.net/images/TableCentre_IE.gif Expected Results: Align the table in the centre of the DIV.
>text-align: center aligns everything except <table>, maybee thats because its named text-align and not table-align. Please read the CSS2.1 spec what will be align with text-align and how to center a table. (ref: http://www.w3.org/TR/CSS21/propidx.html)
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
sorry for being rude in my last comment. Now comes the political correct version: Thank you for your bug report, but is invalid. Please continue to report bugs you find in the layout engine. Reading the corresponding sections in CSS2.1 might help to prevent wasting your time on a bug report.
Updated•20 years ago
|
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Comment 3•20 years ago
|
||
*** This bug has been marked as a duplicate of 167685 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago → 20 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•