Hide DIV scrollbars with CSS


/ Published in: CSS
Save to your folder(s)

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


Copy this code and paste it in your HTML
  1. .myDiv {
  2. overflow: auto;
  3. overflow: hidden;
  4. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.