Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PROBLEM How can I get rid off reset.css rules?
#12
(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>

Big Grin
Thank you!
Reply


Messages In This Thread
RE: How can I get rid off reset.css rules? - by Hypertexter - 2015-09-08, 01:17:19



Users browsing this thread: 2 Guest(s)