Home › Forums › CSS › Highlighting a row in a table using CSS › Reply To: Highlighting a row in a table using CSS
August 28, 2014 at 4:00 am
#180910
Member
You’re’ already applying a class with odd/even however, that doesn’t seem to be applying but it is having an affect.
It looks like you have a class ‘highlighted’ applied which, again, doesn’t seem to exist as yet. I’m assuming that as this is only applied to your team this is the one you want to use.
So, you should do something like
tr.odd.highlighted,
tr.even.highlighted {
your styles here
}
This will cover you in the event that your team is odd or even in the table rows and if you ever decide to apply colors to those classes.