not sure if the title properly worded this or not. here's my question...
can you have an html element (<td>) inherit a style based on the class of its parent.
my basic situation is that i have a page with multiple tables. on the first table, i want a special style to be applied to each cell. all other table's cells should be normal. i know that i can create a class and explicity set it for each individual cell in the first table, but is there a simpler way? is there a way to specify (using CSS) that a table's cell's should use a certain style if the table itself uses a certain style?
thanks,
glenn
can you have an html element (<td>) inherit a style based on the class of its parent.
my basic situation is that i have a page with multiple tables. on the first table, i want a special style to be applied to each cell. all other table's cells should be normal. i know that i can create a class and explicity set it for each individual cell in the first table, but is there a simpler way? is there a way to specify (using CSS) that a table's cell's should use a certain style if the table itself uses a certain style?
thanks,
glenn