How can I adapt the CSS selector below:
.myTableRow td:nth-child(?){ background-color: #FFFFCC; }
so it applies to td columns
td
If you want to select elements 2 through 4, here's how you can do it:
td:nth-child(-n+4):nth-child(n+2) { background: #FFFFCC; }
Remind that the selector chain sequence should be from greatest to least. Safari has a bug that prevents this technique from working.