Element's CSS, reverts back at the end of page load?

zzdspliqsv

New Member
I am trying to change the \[code\]position\[/code\] of \[code\]<div class="BannerRedesign" id="Banner" style="position: fixed ! important; height: 36px ! important; width: 100% ! important;"> <div class="BannerCenterContainer" id="NavigationRedesignBannerContainer">\[/code\](roblox banner element, trying to make it not float)to \[code\]relative\[/code\] using Greasemonkey, with all privileges enabled. But, every time, at the end of the loading of the document, it reverts to floating.I even tried appending \[code\]bannercentercontainer\[/code\] to a different element, but I don't know if I did it right...can you please help me change this to relative position?I tried:\[code\]$('#Banner').css('position', 'relative !important')\[/code\]and\[code\]if ($('#Banner').css('position') == 'fixed') {$('#Banner').css('position', 'relative')}\[/code\], but it just changed back once the page finished loading.
 
Back
Top