I have a link presented in a td of a table’s tr.
On click of this link, The complete row’s background color should change to blue.
I want to do it with CSS alone(Just checking whether can do it in CSS alone or not)
I am able to change the link background color but not for tr.
sample Code is :
Wrapping the whole row in an anchor is an interesting option. Will try that too.
By mistake i kept hover in sample code. I want to do this onclick of the anchor in td.