I am writing CSS for tables for my WordPress website and I am coming across this issue. My ‘th’ is dark grey and ‘td’ is light gray. These are the characteristics for ‘tbody’. Now, for ‘thead’ i want to have different color for ‘th’ How do it write that?
Ok now everything is fine. One little issue. There is some space between the thead and tbody. It isnt showing in the CodePen but its showing up when i implement this on site. See here: http://i.imgur.com/ZASmG.png