HTML & CSS
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.
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.
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:)
This topic is now closed. New replies are no longer allowed.