I spent around the forum for around 30 minutes but can not find my solution therefore asking for help.
I made a table, in the cells I put link text inside. To enable both background color and words color looks different when mouse is over the cell, I put following codes inside that cell:
<td height="20" onMouseOver="this.style.backgroundColor='#XXXXX'"; this.style.color='#XXXXXX';" onMouseOut="this.style....>
It was "white bg + black text", once the mouse over, I want the colors switch, say. black background + white text.
It works good when I did not put any URL on the cell text.
But once I put a URL (e.g link to that cell text, and when mouse over, only the background color changes from white to black, and the text color does not change at all.
The result is: black bg + black text ....it sounds the page is telling me to go to hell...
Any comments? Please help. Thanks alot!
I made a table, in the cells I put link text inside. To enable both background color and words color looks different when mouse is over the cell, I put following codes inside that cell:
<td height="20" onMouseOver="this.style.backgroundColor='#XXXXX'"; this.style.color='#XXXXXX';" onMouseOut="this.style....>
It was "white bg + black text", once the mouse over, I want the colors switch, say. black background + white text.
It works good when I did not put any URL on the cell text.
But once I put a URL (e.g link to that cell text, and when mouse over, only the background color changes from white to black, and the text color does not change at all.
The result is: black bg + black text ....it sounds the page is telling me to go to hell...
Any comments? Please help. Thanks alot!