Why is my web page left-aligned on iPad?
Posted
by
Andrew
on Stack Overflow
See other posts from Stack Overflow
or by Andrew
Published on 2010-11-10T15:22:57Z
Indexed on
2011/02/24
23:25 UTC
Read the original article
Hit count: 221
I recently built a site and centered it using margin: 0 auto
. I also wrapped elements in a .wrapper
class with a width set to 960px and then had the parent element extend across the whole browser.
When I view the Brands screen on an iPad though, the site is left-aligned and does not extend across the whole window. Any thoughts to why this might be happening, and how to correct it?
See below for a screenshot:
© Stack Overflow or respective owner