A very simple solution for this is simply to make sure that none of your elements is wider than the viewport. This can be achieved by placing "catchall" at the top of your CSS:
div, span, h1, h2, h3, h4, h5, p, img, ul, li, ... ETC ... { max-width: 100%; }
Scott Lieberman
source share