Right now your #wrapperborder is coming before the #mainWrapper. Assuming you added the #wrapperborder to the tpl_main_page, switch the two and put the #mainWrapper before the #wrapperborder. Then in your stylesheet, set the #mainWrapper to: {margin-right:auto; margin-left:auto;}
Bookmarks