Advanced Web Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsWeb DesignAdvanced Web Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old July 19th, 2005, 04:41 PM
CHornJr's Avatar
CHornJr CHornJr is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: New York City
Posts: 236 CHornJr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 1 h 50 m 36 sec
Reputation Power: 13
Send a message via AIM to CHornJr Send a message via MSN to CHornJr Send a message via Yahoo to CHornJr
Question CSS overflow:scroll

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

Reply With Quote
  #2  
Old October 19th, 2005, 05:21 AM
Spongy's Avatar
Spongy Spongy is offline
Alternately High
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: Hilversum, Netherlands
Posts: 223 Spongy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 h 56 m 41 sec
Reputation Power: 11
Send a message via MSN to Spongy
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

Reply With Quote
  #3  
Old December 22nd, 2006, 05:15 PM
lee20 lee20 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2006
Posts: 1 lee20 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 m 29 sec
Reputation Power: 0
You can also use:
overflow-x: auto; <- for horizontal scrolling
overflow-y: auto; <- for vertical scrolling

cheers

Reply With Quote
  #4  
Old December 29th, 2006, 04:48 PM
CHornJr's Avatar
CHornJr CHornJr is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: New York City
Posts: 236 CHornJr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 1 h 50 m 36 sec
Reputation Power: 13
Send a message via AIM to CHornJr Send a message via MSN to CHornJr Send a message via Yahoo to CHornJr
wow, I always thought by a year later with no one posting, a thread can be considered dead. Thanks, I'll try it out

Reply With Quote
  #5  
Old November 6th, 2008, 12:21 AM
azeroth48 azeroth48 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2008
Posts: 1 azeroth48 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 m 4 sec
Reputation Power: 0
Quote:
Originally Posted by CHornJr
wow, I always thought by a year later with no one posting, a thread can be considered dead. Thanks, I'll try it out


How bout 2 years..

overflow-y doesnt work in FF3 or IE 6 by itself

overflow-x:hidden;overflow-y:auto;

seemed to work

Reply With Quote
  #6  
Old February 12th, 2013, 01:57 AM
rdroske rdroske is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2013
Posts: 1 rdroske User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 m 24 sec
Reputation Power: 0
Nice T?ip CHorn

The hidden attribute was what I needed. I wanted vertical scroll to show always, horizontal never.

.ideatext{
width:300px;
height:150px;
overflow-y:scroll;
overflow-x:hidden;
.}


did the trick.


Thanks.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignAdvanced Web Development > CSS overflow:scroll


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

© 2003-2014 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap