Reputation: 41
I have a style given in the following way:
td,th{padding:0}
Now I want to completely remove this style dynamically and not override it with some value because I need the inline/default
value set by the browser. Anyone having any idea how to do this, feel free to answer.
Upvotes: 4
Views: 134
Reputation: 56754
In CSS 3, you might want to use
th,td { padding: unset; }
or
th,td { padding: initial; }
Upvotes: 3
Reputation: 104
Try making the value initial ie. Set the value to padding: initial
Upvotes: 2