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
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.
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
@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.
heres the entire code for said page i need help with, in case its something im doing wrong lol: https://snippet.host/imgzcw
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.
like vertical centering?
horizontal centering, bc i want my div to like. maybe 20px away from the top of the page
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
@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.
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;