Closed
Bug 91026
Opened 23 years ago
Closed 23 years ago
table caption not centering over table
Categories
(Core :: Layout: Tables, defect)
Core
Layout: Tables
Tracking
()
People
(Reporter: ve3ll, Assigned: karnaze)
References
()
Details
i use style margin-left:auto; margin-right:auto to center my tables. any caption with a centered table is not centered. should not default be to center a caption over a table ????
Comment 1•23 years ago
|
||
Try putting borders around the table and the caption. Looks like the caption is not a child of the table block but is a block child of <body> itself. Adding: caption {margin-left: auto; margin-right: auto} centers it correctly. This seems incorrect. ccing hixie and dbaron, setting status to NEW (I see the problem behavior on linux build 2001-07-15-21).
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 98 → All
Hardware: PC → All
*** This bug has been marked as a duplicate of 60365 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•