I have an element with inline styles, which are set with JavaScript:
<div class="foo" style="top: 30px;">
I am forced to use an unchangeable CSS file that contains styles to override the inline styles:
.foo { top: 0 !important; }
Is there a way to force the element to use the inline styles instead of the !important styles defined in the CSS file?