|
My website is currently centered through a container div that has a 'auto' margin on the left and right side. It works on a browser, but when I view it on my iPhone or iPad, the content is right up against the sides of the screen. Is there a way to have some margin around the container for mobile users? I hate that the content is right up against the edge of the screen on all sides. One friend suggested widening the container div, adding padding within the container div, and then auto margin left and right on the container div. Is there a better solution? It seems like there's a very basic solution here that I'm missing.
|