|
Alright, I got a solution to the problem. I now use my Gateway/Entrance page to calculate the horizontal offset via javascript, which then writes a link to my main page passing the value through the url. PHP then grabs the value and puts it into the css before anything is loaded, so it is always centered; this value is then passed through each url to maintain the center position.
Also using a check in the begining to see if the x offset is set, if not it re-directs back to the Gateway/Entrance.
Just incase anyone was wondering.
|