HTML Help
HTML Help Central . com

» Online Users: 52

0 members and 52 guests
No Members online
Most users ever online was 695, 02-16-2011 at 08:01 AM.

» Site Navigation

 > FAQ

» Domains For Sale

Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2006
    Posts
    9

    How Do I take off the horizontal scrollbar off a scrollable Div

    How Do I take off the horizontal scrollbar off a scrollable Div.

    I have used css to make an area scrollable, and it places a horizontal bar across...........

    Thank you

    Carl

  2. #2
    Join Date
    Oct 2002
    Location
    Houston, Texas
    Posts
    1,994
    Code:
    <div style="width:500px;height:300px;overflow:auto;overflow-x:hidden;"></div>
    If you use overflow:scroll then there is no way to hide a scrollbar. Using auto will make the scrollbar appear when it is needed, and you have the ability to hide a scrollbar too.
    -Billy

    "I am using Linux every day to up my productivity - so up yours!"

    ******** W A R N I N G ! *******************************
    Linux should not be used by those under the influence of Microsoft.
    May cause dizziness or vertigo. Consult your tech support before
    using Linux. (note--after using Linux, you may notice extreme
    discomfort when using Microsoft. Discontinue use of Microsoft.)
    ******************************* W A R N I N G ! ********

Similar Threads

  1. IE + horizontal scrollbar on iframe
    By anders in forum HTML / XHTML / XML
    Replies: 13
    Last Post: 11-01-2007, 05:21 PM
  2. Help with scrollable content
    By xjdnatticus182x in forum Javascript / AJAX / VBScript
    Replies: 1
    Last Post: 06-13-2006, 12:19 PM
  3. WANTED: No horizontal Scrollbar
    By SteedVLX in forum HTML / XHTML / XML
    Replies: 4
    Last Post: 09-22-2002, 07:11 PM
  4. Horizontal scrollbar?
    By toot in forum Javascript / AJAX / VBScript
    Replies: 7
    Last Post: 12-10-2001, 12:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBadvanced CMPS v4.1.1