Neocities.org

sugarangel :3

sugarangel.neocities.org

482,291 views
429 followers
11,592 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 1 year 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 1 year ago

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

1 like
layercake 1 year 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 1 year ago

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

sugarangel 1 year ago

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

Website Stats

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

Tags

sanrio pixels rainbow personal kidcore