/ Published in: CSS
overflow: hidden; will hide both vertical and horizontal scrollbars
overflow-y: hidden; will hide the vertical scrollbar
overflow-x: hidden; will hide the horizontal scrollbar
overflow-y: hidden; will hide the vertical scrollbar
overflow-x: hidden; will hide the horizontal scrollbar
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
.myDiv { overflow: auto; overflow: hidden; }