Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

I have a html table in which some cells are empty and some cells have data. when i do hover on the cells that have data

,the background color should change black and cursor should be pointed.  If there are no data in the cell or if the cell is blank,there should be no hover applied on the cell and mouse pointer should be normal

user-image
Question added by Rana Alnajjar , Web developer , Lebcards
Date Posted: 2015/05/26

You could also use pure css - depends what browsers you are supporting:

table td:hover:not(:empty){ background: red;}

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.