Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

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 ajoutée par Rana Alnajjar , Web developer , Lebcards
Date de publication: 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