bug 60365 - have caption inherit margin-left, margin-right, align=center from table. sr=attinasi, r=alexsavulov

This commit is contained in:
karnaze%netscape.com 2001-12-11 21:28:47 +00:00
parent e5f14b70c3
commit 11af6aef5c
2 changed files with 16 additions and 0 deletions

View File

@ -187,12 +187,20 @@ table[align="right"] {
-moz-opacity: inherit;
}
/* caption inherits from table not table-outer */
caption {
display: table-caption;
text-align: center;
margin-left: inherit;
margin-right: inherit;
-moz-box-sizing: border-box;
}
table[align="center"] > caption {
margin-left: auto;
margin-right: auto;
}
tr {
display: table-row;
vertical-align: inherit;

View File

@ -187,12 +187,20 @@ table[align="right"] {
-moz-opacity: inherit;
}
/* caption inherits from table not table-outer */
caption {
display: table-caption;
text-align: center;
margin-left: inherit;
margin-right: inherit;
-moz-box-sizing: border-box;
}
table[align="center"] > caption {
margin-left: auto;
margin-right: auto;
}
tr {
display: table-row;
vertical-align: inherit;