I've a table with some different background-coloured cells (td) whose colour I want to change to white when the mouse is over and then revert each one to its previous colour when mouse is out.
Could anybody lend me a helping hand or put me in the right direction.
Thanks a lot in advance
PS. I try to be xhmtl 1.1 compliant (and up to now, I've been succesful)
Well, somehow it is but it's not that: It's a table with 16 cells. Each one has one colour. Some of them can be printed in a printing press and some, cannot.
The idea is that when the user passes the mouse over a non-printable colour, all non printable colours turn white, and when the mouse goes "out", they revert to their previous colour. So the user can learn the difference between them.
As I said, I think this can be achieved altering a class attributes. But I just know how to change an element with an "id='joe'" not a "class='joe'".