Adjust CSS of all cells of a specific table without giving each cell a unique id?

Posted by javanix on Stack Overflow See other posts from Stack Overflow or by javanix
Published on 2010-04-07T00:43:53Z Indexed on 2010/04/07 0:53 UTC
Read the original article Hit count: 342

Filed under:
|
|

Is there any way to modify the CSS properties of one table's cells based on the table's ids, rather than specific child ids?

I would like to change one table's appearance (giving each cell a colored border, for instance) one way, and another table another way, but I'd like to avoid specifying an id for each cell.

To be clear, I don't need to individually access each cell in the table - I just want to set all of the properties of "child" cells of various tables.

© Stack Overflow or respective owner

Related posts about css

Related posts about html