I would like to apply some styling only to the first TD of a TABLE with a specific class. I am using:
.class td:first-child {
background-color: red;
}
But If there are nested TD they get styled too.
How can I apply this only to the first TD?
See JSfiddle here (I would like test1 to get red, but not test4)