Paulu: Problem mit Zelleninhalt

Beitrag lesen

Hallo,

ich möchte die Textfarbe in 2 Zellen variieren.

<TD abbr=\"test\" BGCOLOR=\"$table_cell_colour\">".$row[1]."</TD>  
<TD abbr=\"nochntest\" BGCOLOR=\"$table_cell_colour\">".$row[2]."</TD>  
<TD BGCOLOR=\"$table_cell_colour\">".$row[3]."</TD>  

css-Datei:

TD[abbr~=test]  
{  
    COLOR: #33FF00;  
    FONT-FAMILY: Verdana, Arial;  
    FONT-SIZE: x-small;  
    TEXT-DECORATION: none  
}  
  
  
TD[abbr~=nochntest]  
{  
    COLOR: #FF0000;  
    FONT-FAMILY: Verdana, Arial;  
    FONT-SIZE: x-small;  
    TEXT-DECORATION: none  
}  
  
TD  
{  
    COLOR: black;  
    FONT-FAMILY: Verdana, Arial;  
    FONT-SIZE: x-small;  
    TEXT-DECORATION: none  
}  

Aber die Textfarbe bleibt immer schwarz.

Was hab ich übersehen?

Paul