html - Footer is sticking to bottom = good, but main content has scrolls as if footer is fixed = bad -


Check my link below if you have a large screen, but now if you are on a small screen, then my Patterns will stay in the bottom of the screen, there is a scroll bar that appears before the footer Why is it?

Your problem lies in the fixed height and width values ​​of your DIV containers

CSS: container at 1024px. You want to return it to 1000px because most browsers of 1024px will add a horizontal scrollbar to a very thin 1-2px window range. If your design does not allow for this, you can change overflow: auto to overflow: any .

CSS: main is a constant height to disable the upper scrollbar if the content extends above this height then do the same thing as above.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -