Answers for "css only show scrollbar when scrolling"

CSS
1

scrollbar appear only when needed

overflow: auto
Posted by: Guest on August-27-2020
0

html always show scrollbar

jQuery shouldn't be required. You could try adding the CSS:

body    {overflow-y:scroll;}
This works across the latest browsers, even IE6.
Posted by: Guest on March-25-2021

Code answers related to "css only show scrollbar when scrolling"

Browse Popular Code Answers by Language