I have seen in Hotmail that when you click a checkbox it changes the background colour of the line.

I would like to do the same. Any reference I could use to start from ?