chrischen Posted February 17, 2008 Share Posted February 17, 2008 OK So I spent hours trying to figure out why some page on my site were shifted to the left a little and some to the right. Then I found out it depended on the height of the page, or how much content there was vertically. For example this page, http://www.donatesome.org/shop is shifted to the left a little. And this page: http://www.donatesome.org/beneficiary is normal. I wandered onto another site on the net and it had the same problem. If the content on the page stretched far enough down everything shifts left a little. If I remove margin: auto and have it float on the left side, it doesn't shift. Or if I set margin: 300px (a finite amount) it doesn't shift either. So what's wrong? Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/91566-margine-auto-problem/ Share on other sites More sharing options...
bronzemonkey Posted February 17, 2008 Share Posted February 17, 2008 There is no shifting for me in Firefox. Sounds to me like you are just talking about the browser scrollbar appearing...which moves the central point of the browser window slightly to the left. I hope you haven't wasted hours wondering why that is happening. Quote Link to comment https://forums.phpfreaks.com/topic/91566-margine-auto-problem/#findComment-469182 Share on other sites More sharing options...
chrischen Posted February 17, 2008 Author Share Posted February 17, 2008 OMG...... WOw.... ok thanks. Did not notice that.... Ok i'm a dumbass. Yea I spent hours trying to figure it out. Quote Link to comment https://forums.phpfreaks.com/topic/91566-margine-auto-problem/#findComment-469183 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.