1 2 3 4 5 6 7 8 9 10 11 12 13

To give the calendar more of a grid to lend some visual structure, let’s add a light border around each of the table cells (td), like so:

td {
  border: 1px solid #CCCCCC;
}

This isn’t exactly what we want, because there’s still a bit of white space surrounding each of the cells. The trick to this is the secret ingredient for almost any table-styling efforts.

h2 {
  font-family: Georgia, serif;
  font-weight: normal;
  text-align: center;
}
table {
  font-family: sans-serif;
  margin: auto;
  text-align: center;
}
th {
  font-weight: normal;
}
td {
  border: 1px solid #CCCCCC;
}

April 2007

Su Mo Tu We Th Fr Sa
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30

May 2007

Su Mo Tu We Th Fr Sa
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31