hi,
Ich habe verschiedene CSS-Definitionen:
td {color: #0000AA}
td.menue { color: #FF0000; }
td.hauptmenue { font-size: 14px; }
td.untermenue { font-size: 12px; }Wie kann ich erreichen, dass td.hauptmenue und td.untermenue die Eigenschaften von td.menue erben? (in diesem fall "color: #FF0000;")
das sollten sie doch automatisch tun - deshalb heißt CSS ja kaskadierend.
gruß,
wahsaga
--
"Look, that's why there's rules, understand? So that you _think_ before you break 'em."
"Look, that's why there's rules, understand? So that you _think_ before you break 'em."