|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
Is there a way to get the overflow:scroll to have only a vertical scroll bar instead of both vertical and horizontal scroll?
__________________
CHornJr "One day I'll know what I am doing" ![]() My Blog Suanhacky Lodge #49 Rebel Squadrons |
|
#2
|
||||
|
||||
|
Quite easy actually. Just use "overflow:auto" and if your text extends the div, a vertical scroll will appear.
Good luck!
__________________
Work to live, don't live to work |
|
#3
|
|||
|
|||
|
You can also use:
overflow-x: auto; <- for horizontal scrolling overflow-y: auto; <- for vertical scrolling cheers |
|
#4
|
||||
|
||||
|
wow, I always thought by a year later with no one posting, a thread can be considered dead. Thanks, I'll try it out
|
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Advanced Web Development > CSS overflow:scroll |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|