I am using Nav tablets from Twitter-Bootstrap. At certain screen resolutions, tablets are pressed for no apparent reason. When using Firebug, if I delete the display: table from the .nav pills, the problem disappears. I tried to override the: table display in one of my own .css files, but so far Firefox always views my overridden attempt as a separate style.
Here is an example of a problem. I know that this is not the best way to deal with this problem, but it looks like the best way to demonstrate the problem.
Thanks in advance,
Boot CSS:
.nav-tabs:before, .nav-pills:before, .nav-tabs:after, .nav-pills:after { content: ""; display: table; }
My CSS:
.nav-tabs:before, .nav-pills:before, .nav-tabs:after, .nav-pills:after { display:block !important; }
CSS Results: Firefox seems to recognize both css expressions as separate styles when my display style should override the bootstrap style.
source share