Solved

How to eliminate horizontal scroll bar in DIV

Posted on 2007-12-02
2
4,428 Views
Last Modified: 2008-02-01
I have DIV that I would like to use a vertical scroll in, but it appears that by default, using "overflow:scroll;" puts in both vertical AND horizontal whether you like it or not.  How do I get rid of the horizontal scroll??
0
Comment
Question by:slick_moe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 30

Expert Comment

by:VirusMinus
ID: 20393047
Hello slick_moe,



Regards,

VirusMinus
0
 
LVL 30

Accepted Solution

by:
VirusMinus earned 250 total points
ID: 20393055
woops.. i meant try this:

overflow-y:scroll;overflow-x:hide;
0

Featured Post

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question