Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

disable scroll bar in IE [duplicate]

Possible Duplicate:
Disable browsers vertical and horizontal scrollbars

Can I disable vertical scroll bar in IE.

like image 957
Rahul Utb Avatar asked Jan 22 '23 09:01

Rahul Utb


1 Answers

If you want to disable the scroll bar for a form element, you can use the following code:

style="overflow-y:hidden"

If you want the actual browser to not have a scroll bar, you can apply the same style to the html element.

html {
    overflow-y: hidden;
}

If you want to disable both scroll bars:

overflow: hidden
like image 149
Robert Greiner Avatar answered Jan 31 '23 23:01

Robert Greiner