Posted  25 Oct 2008 - 13:18:20

Category: CSS

Remove scrolling totally on a website

Issue: controls on the website took up more space than 100% width and caused the website to add scrollbars. This did not play well with the static footer I had applied to the page.

Rather than adding the CSS attribute overflow:hidden; to any div element I added it to the html itself:

html {
overflow: hidden;


© SolutionCottage 2008-2011 9/26/2017 10:18:12 AM