Hide Scrollbar from Textarea or Windows
We can remove scrollbar from textarea tag by using overflow:hidden
|
<textarea name=text1 STYLE="overflow:hidden;" rows=4 cols=50></textarea>
|
This is the result :
If you want to hide window scrollbar (Internet Explorer) you can use this
This is the result :
<style type="text/css">
<!--
body { overflow:hidden; }
-->
</style>
|
You can also disable just the X (bottom) scrollbar or the Y (right) scrollbar. Again, be careful how you use this. If the page is scrolling, there is a need to do so, or the scrollbar would not appear in the first place.
To disable just the X (bottom) scrollbar use:
|
body { overflow-x:hidden; }
|
To disable just the Y (right) scrollbar use:
|
body { overflow-y:hidden; }
|
| Comment no. 1 |
Hello! Good Site! Thanks you! htvrggxskp
From mvmijzxgwa Date 12/08/50 Time 01.52 [213.146.118.96]
|
| Comment no. 2 |
From Date 17/09/50 Time 04.03 [69.249.253.75]
|
| Comment no. 3 |
Nice! Exactly what I was lookin for.
From Mans Date 09/11/50 Time 01.58 [170.185.205.24]
|
| Comment no. 4 |
wo
From zzz Date 20/11/50 Time 22.40 [60.190.240.76]
|
| Comment no. 5 |
Hi all.. How can I create scrollable div using overflow:scroll, but hide scrollbars.
From Snook Date 01/12/50 Time 04.25 [160.217.215.10]
|
| Comment no. 6 |
Very nice and a brief topic explanation.
From Salil Date 08/04/51 Time 17.23 [220.224.226.146]
|
| Comment no. 7 |
ΥβΡω
From 1 Date 13/04/51 Time 20.18 [60.190.240.76]
|
| Comment no. 8 |
you can also replace
"hidden" for "auto"
without the "
if you need scrollbars (for people that use lower screen rez)
From Dawg Date 01/05/51 Time 10.02 [87.102.86.246]
|
| Comment no. 9 |
From Date 11/05/51 Time 20.04 [210.211.255.11]
|
|