I have a page with nested tables. I need to be able to apply certain styles only to odd rows of the top level table and not to the tables within this table.
Not really sure hot to do that… I think with jQuery I can do something like this:
$(".topTable tr:odd td").addClass(".rowColor");
This should work:
Live demo: http://jsfiddle.net/simevidas/r5UgL/3/
but I recommend against nesting tables.