The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › Back End › WordPress PHP Alignment › Re: WordPress PHP Alignment
Also, looking closer at your code, your
closes before you add your sidebar.
Try also adding
margin: 0 auto;
To your pagewrap div