Website Left Aligned On Ipad
I'm having problems with margin: 0 auto with my iPad. The div aligns to the left, not the center like it does on my desktop. You can view the site here: www.amplify.io The containe
Solution 1:
Might be a case of overflow happening because you don't set a viewport for mobile devices.
Try adding:
<metaname="viewport"content="width=device-width,
maximum-scale=1.0" />
to your HTML head to be certain. Which should set the page width to the iPad's width and make sure no scaling is happening.
Solution 2:
You've got 26 errors and 11 warnings on your website. I would bet money that the reason your website isn't aligning correctly is due to one of these things. Fix your errors and see if that fixes the problem, otherwise, readdress the situation.
Solution 3:
If you mean the whole div (whole page):
margin-left: auto;
margin-right: auto;
Post a Comment for "Website Left Aligned On Ipad"