Closed Bug 91026 Opened 23 years ago Closed 23 years ago

table caption not centering over table

Categories

(Core :: Layout: Tables, defect)

defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 60365

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 ????
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
 Verified that this is a dupe of bug # 60365
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.