Neocities.org

sugarangel :3

sugarangel.neocities.org

229,170 views
324 followers
11,228 updates
0 tips
okay,,, this sounds like a really stupid question, but how do you actually get your div perfectly in the center of the page regardless of its width and height?
1 like
ginder 11 months ago

idk exactly what you mean but I make a div "base" with margin auto and inside I put the main box and it stay in the center of the page, you can use too

2 likes
r0b1n666 11 months ago

^^ what ginder said. margin: auto; will center things

1 like
layercake 11 months ago

if you mean center center like on carrd im.. not the best at explaining but i usually put it in a wrapper ill drop the code for it here -> https://snippet.host/dkrirv

1 like
sugarangel 11 months ago

@layercake aah for some reason chrome wont let me view ur link,,,

sugarangel 11 months ago

nvm!! figured this out, ty everyone for helping!

Website Stats

Last updated 1 day ago
CreatedMar 30, 2022
Site Traffic Stats

Tags

sanrio pixels personal rainbow kidcore