I understand that by definition, TD's CSS definition overrides TR's CSS. Is there a way to do so otherwise?
My situation is as follows. I have rows of information. In one particular column, the text is in Green. However, I want to "lock" a row, the whole row will be Grey regardless. Is there a way to do this?
I'm trying to achieve this via !important but its not working.
Sample code:
CSS
.locked {
color: #6D6D6D !important;
}
.count {
color: #08C420;
}
HTML
10,00020,000Right now, all cells with class count are showing green. How do I fix this?