Fabian Transchel: Linkfarben in einer Tabelle

Beitrag lesen

» Hier der Auszug aus meiner css-Datei:

a:link { font-weight:bold; color:#508DE8; text-decoration:none }
a:visited { font-weight:bold; color:#508DE8; text-decoration:none }
a:hover { font-weight:bold; color:#508DE8; text-decoration:none }
a:active { font-weight:bold; color:#508DE8; text-decoration:none }
a:focus { font-weight:bold; color:#508DE8; text-decoration:none }

a.weiss:link { color:#000000; }
a.weiss:visited { color:#000000; }
a.weiss:active  { color:#000000; }

moin,
mein tipp ist, das leerzeichen am anfang der definition wegzulassen. (statt { color... } lieber {color... }
ausserdem gehören die farbangaben inanführungszeichen:
{color:'#000000'; } (Das ist die RICHTIGE syntax!!!)

Fabian

PS:Warum heißen die SCHWARZEN links a.weiss ??? ;-)