Difference between revisions of "User:Kernigh/monobook.css"
Jump to navigation
Jump to search
(Some test CSS for experiments in Wikihack:Sandbox... might not work yet!) |
m (Forgot to float!) |
||
Line 3: | Line 3: | ||
table.infobox { | table.infobox { | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
+ | float: right; | ||
background: #f9f9f9; | background: #f9f9f9; | ||
border: 1px #aaaaaa solid; | border: 1px #aaaaaa solid; |
Revision as of 03:17, 17 August 2006
/* PRETTY INFOBOXES
* The infobox class only works on tables! */
table.infobox {
margin: 0 0 1em 1em;
float: right;
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;
}