i have two usages of tables in my website,
first as tables in the common way,
second as a way to arrange these tables.
my code looks like this:
table.std { /* ... */ }
td.std { /* ... */ }
th.std { /* ... */ }
table.layout { /* ... */ }
td.layout { /* ... */ }
th.layout { /* ... */ }
but this way i have to assign a class='std/layout' property to each <th> and
<td>.
is there a way to get the result just by assigning sth to the table tag?
Try this:
table.std { /* ... */ }
table.std td { /* ... */ }
table.std th { /* ... */ }
table.layout { /* ... */ }
table.layout td { /* ... */ }
table.layout th { /* ... */ }