Closed
Bug 244848
Opened 20 years ago
Closed 20 years ago
Caption does not align well
Categories
(Core :: Layout: Tables, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: pascal, Unassigned)
Details
Attachments
(2 files)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040514 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040514 <caption> ignores <table style="margin-left:auto;margin-right:auto"> and halfes the margin-left length. Reproducible: Always Steps to Reproduce:
Comment 1•20 years ago
|
||
Please attach a testcase showing the problem using http://bugzilla.mozilla.org/attachment.cgi?bugid=244848&action=enter
Reporter | ||
Comment 2•20 years ago
|
||
Captions have their own margins. So if you want the caption centered in the first place you need to give it a auto margin too. This is by the way done for table with align="center" in html.css
Reporter | ||
Comment 4•20 years ago
|
||
(In reply to comment #3) Ah, I see. The W3C is not very clear with the implementation indeed. However, the alignment of the caption and the alignment of the table are not independent. I've created an example2 to illustrate the problem.
Reporter | ||
Comment 5•20 years ago
|
||
Reporter | ||
Updated•20 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
Status: RESOLVED → UNCONFIRMED
Resolution: WONTFIX → ---
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago → 20 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•