These examples are identical to the previous one, except that the column definitions
<col class="first" /> <col class="even" /> <col/> <col class="even" />
have been added. The style rules are:
.even {
background: #ddd;
}
.first {
background: cyan;
color: red;
font-weight: bold;
}
Browser implementation varies. Neither Firefox nor IE will display a border for a column. With the collapsed borders model, Firefox suppresses all borders if columns are defined, while IE shows other specified borders.
| 1 | a | b | c |
| 2 | d | e | f |
| 1 | a | b | c |
| 2 | d | e | f |