41 lines
858 B
CSS
41 lines
858 B
CSS
table {
|
|
color: #333;
|
|
font-family: Verdana;
|
|
font-size: smaller;
|
|
border-collapse: separate;
|
|
border-spacing: 0;
|
|
}
|
|
|
|
table th {
|
|
/* Apply both top and bottom borders to the <th> */
|
|
border-top: 1px solid #CCC;
|
|
border-bottom: 1px solid #CCC;
|
|
border-right: 1px solid #CCC;
|
|
}
|
|
|
|
table td {
|
|
/* For cells, apply the border to one of each side only (right but not left, bottom but not top) */
|
|
border-bottom: 1px solid #CCC;
|
|
border-right: 1px solid #CCC;
|
|
}
|
|
|
|
td, th {
|
|
padding-left: .2em;
|
|
padding-right: .2em;
|
|
height: 1.3em;
|
|
}
|
|
|
|
table th:first-child,
|
|
table td:first-child {
|
|
/* Apply a left border on the first <td> or <th> in a row */
|
|
border-left: 1px solid #CCC;
|
|
}
|
|
|
|
th {
|
|
background: #F3F3F3;
|
|
font-weight: bold;
|
|
}
|
|
|
|
td {
|
|
background: #FAFAFA;
|
|
} |