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

To better associate the heads with their respective calendars, let’s remove the margin below them:

h2 {
  font-family: Georgia, serif;
  font-weight: normal;
+ margin: 1em 0 0 0;
  text-align: center;
}

Written in this shortened form, margin values can be described in this order:

margin: [top] [right] [bottom] [left];

This shorthand works similarly for padding, border-width and other relevant properties.

h2 {
  font-family: Georgia, serif;
  font-weight: normal;
  margin: 1em 0 0 0;
  text-align: center;
}
table {
  border-collapse: collapse;
  font-family: sans-serif;
  font-size: .8em;
  margin: auto;
  text-align: center;
}
th, td {
  width: 3em;
  height: 3em;
}
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