CSS for table zebra striping
From apertus wiki
Revision as of 05:12, 21 March 2014 by 129.78.233.211 (talk) (Created page with "body { font: normal medium/1.4 sans-serif; } table { border-collapse: collapse; width: 100%; } th, td { padding: 0.25rem; text-align: left; border: 1px solid #ccc;...")
body {
font: normal medium/1.4 sans-serif;
} table {
border-collapse: collapse; width: 100%;
} th, td {
padding: 0.25rem; text-align: left; border: 1px solid #ccc;
} tbody tr:nth-child(odd) {
background: #C0C0C0;
}