2015-09-08, 01:17:19
(2015-09-07, 10:17:38)shawn_a Wrote: ...
Like i said you need to learn css specificity.
I am very proud to present:
Code:
<style>
table.class1 {
border-collapse: separate;
border-spacing: 0px;
border: 2px solid black;
}
table.class1 td {
border:1px solid orange;
padding:10px 0px
}
table.class1 th:nth-child(2), table.class1 td:nth-child(2) {
padding:10px 30px
}
</style>
Thank you!