does this code require css or javascript or anything else at all? i've seen it work well on only a few wikis, but when i try to code it on completely different wikis, i don't get the results i'm looking for. no matter which wiki i use, it always seems to work when i preview my work in source editor, but when i save it and view the actual version of the page, it doesn't carry the actual attributes of sticky. i've done a lot of experimenting and haven't really figured it out yet.
my code typically looks like this:
<div style="position:sticky; top:50px;">
lorem ipsum ...
</div>
and here's the current version of the code i'm working on. it's not sticking to the top of the page like i want it to. for example, i've seen it work here but i can't get the results i want when i use it in other places.
is there something i'm doing wrong, or does this code actually need css / javascript to work?