zuerst: bin Anfänger!
Ich habe eine index.html die eine einfache style.css läd.
<link rel="stylesheet" href="style.css" type="text/css"> </head>
Die style.css hat folgenden Inhalt:
body{ background:#333333; margin:8px; font: 8pt/14pt 'Lucida Grande', Verdana, Helvetica, sans-serif; color:#FFFFCC; } A:link{ color:#999999; text-decoration:none; } A:hover{ color:#00A4A1; text-decoration:underline; } A:active{ color:#999999; text-decoration:none; } A:active:hover{ color:#00A4A1; text-decoration:underline; } A:visited{ color:#999999; text-decoration:none; } A:visited:hover{ color:#00A4A1; text-decoration:underline; }
Der Text in meinter index.html wird problemlos durch die css formatiert. Wenn ich den Text aber in eine Tabelle schreibe, wird die Formatierung von der style.css ignoriert. Was muss ich ändern, dass durch die css der gesamte Inhalt meiner Page formatiert wird?