I would like to override following CSS styling defined for all tables:
table {
font-size: 12px;
width: 100%;
min-width: 400px;
display:inline-table;
}
I have specific table with class called 'other'.
Finally table decoration should looks like:
table.other {
font-size: 12px;
}
so i need remove 3 properties: width,min-width and display
I tried to reset with none or auto, but didn’t help, I mean these cases:
table.other {
width: auto;
min-width: auto;
display:auto;
}
table.other {
width: none;
min-width: none;
display:none;
}
I believe the reason why the first set of properties will not work is because there is no
autovalue fordisplay, so that property should be ignored. In that case,inline-tablewill still take effect, and aswidthdo not apply toinlineelements, that set of properties will not do anything.The second set of properties will simply hide the table, as that’s what
display: noneis for.Try resetting it to
tableinstead:Edit:
min-widthdefaults to0, notauto