Hallo Markus,
th
{
bgcolor=black
}
...
Ist schon mal falsch.
Richtig geht es so:
th {
background-color: black;
}
Siehe background-color.
Jetzt würde ich gerne die Schriftart nur für z.B. den th Tag auf Weiß setzen. Geht dass dann als
th.fonttag
{
color ...
}
??Also das Problem ist, dass ich mit einer CSS Datei eine Tabelle formatieren möchte, für th und tr/td jedoch eine andere Schrift hinterlegen möchte. Dies sollte auch nicht über class realisiert sein.
Wieso fügst du eine Klasse "fonttag" hinzu? Weißt du eigentlich, was du da genau tust?
Lies Formate für HTML-Elemente definieren sowie Formate für Klassen definieren.
Grüße
Marc Reichelt || http://www.marcreichelt.de/
--
Linux is like a wigwam - no windows, no gates and an Apache inside!
Selfcode: ie:{ fl:| br:> va:} ls:< fo:} rl:( n4:( ss:) de:> js:| ch:? sh:| mo:) zu:)
Linux is like a wigwam - no windows, no gates and an Apache inside!
Selfcode: ie:{ fl:| br:> va:} ls:< fo:} rl:( n4:( ss:) de:> js:| ch:? sh:| mo:) zu:)