How would I select all the children in a table except for the first and last? I\'ve tried this, but it ends up selecting all children that aren\'t first and all children tha
The jQuery solution is fine, but if you want to do it in pure CSS I'd suggest you to apply the rules to the whole table and then reset them for the first and last children. i.e:
table.programs tr td {
/* your rules here */
}
table.programs tr:first-child td:first-child,
table.programs tr:last-child td:last-child {
/* reset your rules here */
}
jsFiddle demo