envisionary Posted July 3, 2013 Share Posted July 3, 2013 I need to make the background of this table black in all of the rows and columns except the header. I just can't figure it out, I've tried editing it multiple ways and all I've managed to do is change the text color Below is the table class that I need to change; table.std { border-spacing: 0; border-collapse: collapse; width: 100%; } /*class table.std */ .std td,.std th {border: 1px solid #999;padding: 10px !important;} .std th { white-space: nowrap } .std tr.item td,.std .item th { } .std tr.alternate_item td, .std tr.alternate_item th { } .std tbody td,.std tfoot td { border-top: 1px solid #999 } .std thead th { background:#1576A8; color: #FFFFFF; font-size: 13px; height: 36px; line-height: 18px; padding: 0; text-align: center; text-transform: none; white-space: nowrap; } .std th.item { background-position: -5px 0;} .std tfoot td { color: #FFFFFF; text-align: right; white-space: nowrap } Link to comment Share on other sites More sharing options...
NemoPS Posted July 3, 2013 Share Posted July 3, 2013 have you tried with table.std td {background: navy !important} for example? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now