Neocities.org

the new koinuko

koinuko.pink

6,917,055 views
868 followers
17,859 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 1 year 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 1 year 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 1 year 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

Website Stats

Last updated 6 days ago
CreatedJan 26, 2021
Site Traffic Stats

Tags

personal