Neocities.org

THE KELZONE

kelprot.neocities.org

236,123 views
161 followers
13,743 updates
0 tips
hey, how do you get your elements to stay in one spot (and not scroll) even when the page is resized? ive had a lot of trouble getting my images to stay in one spot ^_^'
kelprot 7 months ago

hi sorry for the late reply!!! im not sure exactly what would be causing it on your end, but i used to have the same issue when using "position: absolute". i tend to use position: relative now, and just keep my elements contained in other divs (so their position is based off that div, not the pixel width of the screen)

1 like
squiff 7 months ago

how do you base elements in divs? sorry for so many questions XD thank you for your response btw!!!

1 like
kelprot 7 months ago

pretty much storing stuff inside a div ^_^ so, for example, you'd go (div) (image + position:relative stuff) (/div)

1 like
kelprot 7 months ago

I'm not super good at explaining any of this since I haven't done much coding in months, so if you want more info I'd recommend looking up some beginner tutorials on the position element :3

1 like
squiff 7 months ago

thank you!!!!!!!!!! :D

1 like

Website Stats

Last updated 4 days ago
CreatedNov 10, 2022
Site Traffic Stats

Tags

music graphics celeste splatoon resources