Difference between revisions of "User:Kernigh/monobook.css"
Jump to navigation
Jump to search
m (Forgot to float!) |
m (Try something else...) |
||
Line 2: | Line 2: | ||
* The infobox class only works on tables! */ | * The infobox class only works on tables! */ | ||
table.infobox { | table.infobox { | ||
− | margin: 0 | + | margin: 0; |
− | |||
background: #f9f9f9; | background: #f9f9f9; | ||
border: 1px #aaaaaa solid; | border: 1px #aaaaaa solid; |
Revision as of 03:19, 17 August 2006
/* PRETTY INFOBOXES
* The infobox class only works on tables! */
table.infobox {
margin: 0;
background: #f9f9f9;
border: 1px #aaaaaa solid;
border-collapse: collapse;
}
/* below is exactly like prettytable */
table.infobox th, table.infobox td {
border: 1px #aaaaaa solid;
padding: 0.2em;
}
table.infobox th {
background: #f2f2f2;
text-align: center;
}
table.infobox caption {
margin-left: inherit;
margin-right: inherit;
}