lgrube3 — 2011-11-02T11:14:38-04:00 — #1
My website is set up with a container 960px wide.
but when I view this site on my android phone, the left is cut off and I cannot pan over to see it.
Any help would be greatly appreciated as I cannot figure it out but I assume it is poor mark-up.
ralphm — 2011-11-02T19:13:43-04:00 — #2
Don't know if this will help, but a much better way to center a page than this:
margin: 0 auto;
Give that a try and see if it helps.
sidd — 2011-11-09T05:09:20-05:00 — #3
paulob — 2011-11-09T07:12:48-05:00 — #4
As Ralph suggested you should never use that outdated method of centering that you are using because it will slide off the screen and be unreachable for all browsers at small window sizes.
Use the margin:auto method that Ralph suggests.
Try width in em or %
That has no bearing here as it is the absolute centering method that is causing the issue:)