Solved

How to eliminate horizontal scroll bar in DIV

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need output in powershell ( Vertical format) 2 33
CSS in HTML 5 51
Table style position to the left 8 24
output in HTML in Powershell 5 16
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.
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. …
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …

713 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