Solved

How to eliminate horizontal scroll bar in DIV

Posted on 2007-12-02
2
4,419 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
  • 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

747 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now