Solved

How to eliminate horizontal scroll bar in DIV

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

772 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