ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

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
تم إضافة السؤال من قبل Rana Alnajjar , Web developer , Lebcards
تاريخ النشر: 2015/05/26
Faten Almajaly
من قبل Faten Almajaly

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

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

المزيد من الأسئلة المماثلة

هل تحتاج لمساعدة في كتابة سيرة ذاتية تحتوي على الكلمات الدلالية التي يبحث عنها أصحاب العمل؟