Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem with table design

0 views
Skip to first unread message

Philipp Benjamin Köppchen

unread,
May 31, 2003, 5:13:42 PM5/31/03
to
Hi NG!

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?

Rowland Shaw

unread,
Jun 2, 2003, 3:10:54 AM6/2/03
to
"Philipp Benjamin Köppchen" <boga...@gmx.de> wrote...


Try this:
table.std { /* ... */ }
table.std td { /* ... */ }
table.std th { /* ... */ }

table.layout { /* ... */ }
table.layout td { /* ... */ }
table.layout th { /* ... */ }


0 new messages