Closed
Bug 295089
Opened 20 years ago
Closed 20 years ago
left and right margin styles not applied correctly to caption element of a table
Categories
(Core :: Layout: Tables, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: katzxy, Unassigned)
References
()
Details
(Keywords: testcase)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3
I am using style sheet (CSS2) left-margin: 50% and right-margin: 50% to center a
table. The <caption> element was displayed left justified, while the body of the
table was centered, as desired. I've extracted the example and made a simple
web page showing the problem, at the url above
Reproducible: Always
Steps to Reproduce:
1. request above url
2. note that the caption is lert aligned, the table body centered.
3.
Expected Results:
Caption should be centered with the table.
Comment 1•20 years ago
|
||
related/dupe of bug 114734?
Component: General → Layout: Tables
Keywords: testcase
Product: Firefox → Core
QA Contact: general → layout.tables
Version: unspecified → Trunk
see http://www.w3.org/TR/CSS21/tables.html#q5, captions have their own margin so
one needs to specify them.
| Reporter | ||
Comment 3•20 years ago
|
||
This is not a bug. See comment #2 from Bernd.
It should be closed, I'm just not sure what the correct resolution status should be.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•