Tweaked css and layout HTML.  Added factor to reduce width slightly on resize to try to fix case where content overflows from main div.