futureslay futureslay - 6 months ago 12
HTML Question

My webpage won't scroll down

Here: http://www.dominicharrison.co.uk/projects/MFS/

Whilst building this, I am unable to get the webpage to scroll at all. I need the header fixed, hence it is. However, I'm unable to get the rest of the page to scroll as it should.
Here is another example of how it should be, but I can't, for the life of me, figure this one out.

Any help is most welcome and much appreciated.

Dom

Answer

On inspecting your site, I found this

* {
overflow: hidden;  //Change this to scroll or auto
margin: 0;
padding: 0;
}

Try not to keep global, this may affect other elements too. Fix this it will work properly.

Or to be specific, add it individually

#content {
overflow: scroll;
}
Comments