Neocities.org

sugarangel :3

sugarangel.neocities.org

229,832 views
325 followers
11,329 updates
0 tips
9 likes
a0i 11 months ago

looking good!

2 likes
sugarangel 11 months ago

thank you!!!

1 like
i think my next layout is gonna be a lot bigger,,, i want it to cover more of the screen
8 likes
sugarangel 11 months ago

that means more fun graphics!!! :3

7 likes
sometimes i remember that when i was new to coding i tried making a site with images purely from hotlinking google images.... shivers
8 likes
ok fuck it new layout never even liked my page :skull:
5 likes
im. gonna take a quick break because i am getting very very frustrated lol
3 likes
sugarangel 11 months ago

i say as i continue to work

3 likes
auto margin not working... cries
a0i 11 months ago

what page are you editing this for?

1 like
sugarangel 11 months ago

my toybox page

okay i did not learn my lesson,,, still wondering how tf u center ur content in like the very middle of the screen. for some reason when i try using the translate tag in css it wont let me position images outside of the div
2 likes
sugarangel 11 months ago

heres the entire code for said page i need help with, in case its something im doing wrong lol: https://snippet.host/imgzcw

1 like
sugarangel 11 months ago

when using this code, for some reason even though the content is in the center of the page, i cant use the top tag and distance it away from the top of the screen, and i cant edit the little rin image.

a0i 11 months ago

like vertical centering?

1 like
sugarangel 11 months ago

horizontal centering, bc i want my div to like. maybe 20px away from the top of the page

r0b1n666 11 months ago

margin: auto will center things, you may need to set position: relative for it to work? I forget. you can also use left, bottom, top, and right to move things around if you have position: relative specified. also make sure the div's overflow property isn't set to hidden

1 like
sugarangel 11 months ago

@r0b1n666 the margin: auto thing worked, even with position: absolute position: relative. however when i zoom in, the elements inside of the div still enlarge instead of simply zooming in on the page.

sugarangel 11 months ago

this is my current code rn: position: relative; width: 28%; height: 500px; margin: auto; top: 10px; right: 0; bottom: 0; left: 0; margin-top: 50px; border-width:7px; border-style:solid; border-image: url("https://i.imgur.com/8Tk8PKV.gif") 7 fill round; z-index: 999; line-height: 22px; overflow: auto;

2 likes
4 likes
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 11 hours ago
CreatedMar 30, 2022
Site Traffic Stats

Tags

sanrio pixels personal rainbow kidcore