I'm currently working on coding and attempting to center a div horizontally in the middle of the page. The div is empty at the moment, just a plain white rectangle with specific dimensions. Here's my code snippet:
#wrapper{
width:500px;
height:100%;
position:fixed;
background-color:#fff;
}
Essentially, I am looking to create a 500px width white rectangular shape that is centered in the middle of the page horizontally, utilizing the full height of the page.
Any help or suggestions would be greatly appreciated. Thanks.