r/beginnerwebdev • u/DrainingSun • Aug 18 '22
How do I move images around?
Hey there! I'm an absolute beginner attempting to make a site in the style of simple, amateur personal websites from the early 2000s. For some reason, I just can't figure out how to move images around. I can scale them, but doing things like moving them up and down and to the side I just can't seem to get. I know I have to use CSS, but when I put what I'm supposed to in it to move an image, or at least what I think I'm supposed to do, it dosent do anything. Anyone have advice or could help me out? (I made the inane descision to use notebook btw.)
3
u/DrainingSun Aug 18 '22
I meant notepad, sorry bout that. Very tired today.
2
u/knyg Aug 18 '22
One way to do it is to not move the image around. Instead you create a box, fill the box with the image, then move the box around. First, you need to know how to position elements and using FlexBox is a great way to do it. FlexBox froggy is also a great game to teach you the basics of flexbox.
1
u/Augnelli Aug 19 '22
Happy to help, but I need more information: