/ Published in: CSS

Sometimes, pages can be shorter than the browser view-port, and when you load a page on the same site that has longer content and uses a scrollbar, content can jump side to side. By forcing a scrollbar no matter the height of our content, we stop this small, but annoying issue.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
html { overflow-y: scroll; }
Comments
