I wrote a Chrome extension and one of the features is that you can bring up a help panel with a guide to its usage, in the page you're on. This help panel is inserted into the page via JS, and it's CSS is all created via $('#selector_for_help_panel').css({etc})
.
This works great, except that on Reddit there's some media="all"
CSS rules that are overriding the inline CSS from my JS. I thought only !important
overrode inline CSS.
Will !important
work here to counter their CSS? Where does media="all"
fall in the hierarchy of CSS priority?