Hi! Almost everything on my homepage is inside a div, which is basically a box that you can style/position however you like. Using them is really helpful for organizing content! They're kind of confusing to get used to at first, especially if you want to move things all over the page, but most of the time I just start out with a div in the middle of the page, and everything inside the div centered.
https://koinuko.pink/800x600/example_page.html There are lots of ways to position them, I personally use margins most of the time! Margins measure the space around a div, and you can edit them by individual direction (left/right/top/bottom) which is helpful. I usually use margin-left and (this is pretty weird tbh) margin-top with a negative value to position my stuff, which moves something up on the page.
There is another method called flexbox that I actually only learned recently, it seems kind of intimidating but overall I think is easier than using margins. If/when you're comfortable with coding enough to give it a shot I recommend it :D https://css-tricks.com/snippets/css/a-guide-to-flexbox/
Hi! Almost everything on my homepage is inside a div, which is basically a box that you can style/position however you like. Using them is really helpful for organizing content! They're kind of confusing to get used to at first, especially if you want to move things all over the page, but most of the time I just start out with a div in the middle of the page, and everything inside the div centered.
https://koinuko.pink/800x600/example_page.html There are lots of ways to position them, I personally use margins most of the time! Margins measure the space around a div, and you can edit them by individual direction (left/right/top/bottom) which is helpful. I usually use margin-left and (this is pretty weird tbh) margin-top with a negative value to position my stuff, which moves something up on the page.
There is another method called flexbox that I actually only learned recently, it seems kind of intimidating but overall I think is easier than using margins. If/when you're comfortable with coding enough to give it a shot I recommend it :D https://css-tricks.com/snippets/css/a-guide-to-flexbox/