Formatting hyperlinks within a selected row.


I have hyperlinks within the cells of a dhtmlxGrid.  When I select the row, I am able to change the background color to dark blue and the font to white, however I am trying to change the color of the hyperlinks to white (not visited) and pink (visited).  The font and background color are changing, but not the hyperlinks.  I know the basic code is correct because When I put the a:link and a:visited outside of the div, it changes the colors for all links on the webpage.  Please help!  Thanks.



div.gridbox table.obj tr.rowselected td{
 a:link{color:white;}
 a:visited{color:pink;}
 background-color:#013a76;
 color:white;
  }

Just use next css instead of yours

div.gridbox table.obj tr.rowselected td{
background-color:#013a76;
 color:white;
  }

div.gridbox table.obj tr.rowselected td a:link{color:white;}
div.gridbox table.obj tr.rowselected td 
a:visited{color:pink;}