Closed
Bug 272181
Opened 20 years ago
Closed 20 years ago
Margin of a table exclude the table caption
Categories
(Core :: Layout: Tables, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: mozillabugs, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Simple example code <table style="border: solid red 1px; margin: 1em"> <caption style="border: solid blue 1px;">caption</caption> <tr><td>a</td><td>b</td></tr> </table> The caption is placed at 1em distance above the table. This doesn't make sense to me. I'm of the opinion that the margin of the table should be a margin around the table and caption. I think IE (5.5) reders this more correct. Although it is questionable that both IE and Gecko render the table border around the the table and not the table and caption. Reproducible: Always Steps to Reproduce: 1. see description
your proposal would violate http://www.w3.org/TR/CSS21/tables.html#q5 see especially the graphic
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
•