CSS background color gives me problems. The style block should use ".land.custom_one" instead of the usual ".custom_one" to work. Removing the βgroundβ from the td class also makes it work, but I need a βgroundβ class to freeze in order to work like not all tds that need a freeze effect. Style is defined after style.css. I have this problem in both Chrome and Firefox.
style.css
#id table {
background-color: blue;
}
#id td.land {
background-color: green;
}
#id td.land:hover {
background-color: black;
color: orange;
}
style block
.custom_one {
background-color: red;
color: white;
}
html
<td class="land custom_one"></td>
source
share