I don't know why, but when I try to set the position:fixed
in jquery:
$('#footer').css('cssText', 'position:fixed !important;');
for my footer, I get on the page this result:
<div id="footer" style="position: static;">
...
</div>
I've checked in the Chrome console and there is no css loaded a part this setted through code. For some circumstance I can't set this in the .css file.
why happean this?