html - Impact of td/th background over table border -
i have table element border:
.summary-table { font-family: sans-serif; -webkit-font-smoothing: antialiased; font-size: 115%; overflow: auto; width: 100%; border: 1px solid rgb(195, 195, 195) !important; border-radius: 4px; overflow: hidden; }
when use background color on thead tr works fine
.summary-table thead tr{ background-color: #e8e8e8 !important; }
but when use background color on thead th (no border-top , left ):
.summary-table th { background-color: #e8e8e8 !important; font-weight: normal; color: black; padding: 20px 30px; }
can tell nme why this?
Comments
Post a Comment