Closed
Bug 300624
Opened 20 years ago
Closed 20 years ago
caption does not move together with table if table has margin-top
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 297676
People
(Reporter: alexei, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
caption does not move together with table if table has margin-top
code:
-----
<table style="margin-top:100px">
<caption>this is caption</caption>
<tr><td>Lorem Ipsum</td><tr>
</table>
------
Result:
Caption and table have a gap 100px.
Expected Result:
Caption stays together with table and margin on top of caption is 100px.
Reproducible: Always
Steps to Reproduce:
see details
Actual Results:
Caption and table have a gap 100px.
Expected Results:
Caption stays together with table and margin on top of caption is 100px.
| Reporter | ||
Comment 1•20 years ago
|
||
actually, margin should be counted from table's top edge (at least Opera and IE
do this). Caption should be on top af the table unless it has its own margins.
Alias: css2
Comment 2•20 years ago
|
||
*** This bug has been marked as a duplicate of 297676 ***
Alias: css2
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•