Neocities.org

ALT KIDS ⛦ Home Page

altkids.neocities.org

115,090 views
8 followers
6,851 updates
0 tips
hey I've been trying to figure out my website, how do you make the squares on your page and how do you position them?
5 likes
koinuko 2 years ago

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.

3 likes
koinuko 2 years ago

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.

2 likes
koinuko 2 years ago

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/

2 likes
an adorable concept :)
2 likes

Website Stats

Last updated 1 month ago
CreatedJun 6, 2022
Site Traffic Stats

Tags

art games fashion kawaii