MoiN!
eine lösung wäre auch das mit klassen zu machen:
Wird aber so nicht funktionieren:
body { font-family:Arial,sans-serif; font-size:20pt; }
body.tabelle { font-family:Arial,sans-serif; font-size:20pt; }
<body>
<td class="tabelle">
Weil es kein <body class="tabelle"> gibt, kann dem auch keine Formatierung zugewiesen werden. Eine anonyme Klasse würde helfen:
.tabelle { font-size:20px; }
td { font-family:Arial,sans-serif; font-size:20pt; }
und
<td>
Das funktioniert.
- Sven Rautenberg