iYonatan iYonatan - 4 years ago 141
CSS Question

Bootstrap - table css issue

I got an issue with the table's style.

When I try to change the

's padding, it doesn't change.

And it happens with more style element.

That's my code:


And here is the result:
Table's result

Answer Source

One solution is to add the !important flag for your padding:

table th{
  padding: 50px !important;
  background-color: #ffb74d;

jsFiddle Demo

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download