background: #fdd;
}
-:first-child, .first {
+/* hack so that vertical margins are only between siblings for the most part */
+td > :first-child,
+th > :first-child,
+legend + :first-child,
+article > :first-child,
+section > :first-child,
+nav > :first-child,
+div > :first-child,
+.first {
padding-top: 0px;
margin-top: 0px;
}
-:last-child, .last {
+td > :last-child,
+th > :last-child,
+fieldset > :last-child,
+article > :last-child,
+section > :last-child,
+nav > :last-child,
+div > :last-child,
+.last {
padding-bottom: 0px;
margin-bottom: 0px;
}