Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

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

I am trying to change the position of

(roblox banner element, trying to make it not float) to relative 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 bannercentercontainer 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:

$('#Banner').css('position', 'relative !important') and

if ($('#Banner').css('position') == 'fixed') { $('#Banner').css('position', 'relative') } , but it just changed back once the page finished loading.

1 comment

0

I'm not sure that you'll get much help with that here, this is a Roblox Lua-centric forum, sorry!

1 answer

That's is for Lua Scripts, not for HTML/CSS Webpage Scripting...

This discussion is preserved as it was. New answers, comments, and votes are closed.