Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8410013
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T00:04:19+00:00 2026-06-10T00:04:19+00:00

Ok, so I want the left side div to have scrolable content, i tried

  • 0

Ok, so I want the left side div to have scrolable content, i tried overflow: hidden and auto yet they don’t quite do the trick. There is still a scroll-bar showing.

Here is the JSFiddle with HTML and CSS: http://jsfiddle.net/yukimura/Sgq4j/

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T00:04:20+00:00Added an answer on June 10, 2026 at 12:04 am

    You can wrap it inside a second div, which is narrower by the scrollbar size and set that div’s overflow to hidden.

    HTML

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    
    </head>
    
    <body>
    
    <div id="wrapper">
    <div id="scrollWrap">            
         <div id="pageleft">
              <div id="leftheader"></div>
              <a href="javascript:;">
                  <img src="http://i.imgur.com/4rwe1s.jpg" width="46" height="46" alt="*" style="margin:10px 10px;"/>
              </a>
              <a href="javascript:;">
                  <img src="http://i.imgur.com/4rwe1s.jpg" width="46" height="46" alt="*" style="margin:10px 10px;"/>
              </a>
              <a href="javascript:;">
                  <img src="http://i.imgur.com/4rwe1s.jpg" width="46" height="46" alt="*" style="margin:10px 10px;"/>
              </a>
              <a href="javascript:;">
                  <img src="http://i.imgur.com/4rwe1s.jpg" width="46" height="46" alt="*" style="margin:10px 10px;"/>
              </a>
              <a href="javascript:;">
                  <img src="http://i.imgur.com/4rwe1s.jpg" width="46" height="46" alt="*" style="margin:10px 10px;"/>
              </a>
              <a href="javascript:;">
                  <img src="http://i.imgur.com/4rwe1s.jpg" width="46" height="46" alt="*" style="margin:10px 10px;"/>
              </a>
              <a href="javascript:;">
                  <img src="http://i.imgur.com/4rwe1s.jpg" width="46" height="46" alt="*" style="margin:10px 10px;"/>
              </a>
              <a href="javascript:;">
                  <img src="http://i.imgur.com/4rwe1s.jpg" width="46" height="46" alt="*" style="margin:10px 10px;"/>
              </a>
              <a href="javascript:;">
                  <img src="http://i.imgur.com/4rwe1s.jpg" width="46" height="46" alt="*" style="margin:10px 10px;"/>
              </a>
    
         </div>
        </div>
    </div>
    
    
    </body>
    </html>
    ​
    

    CSS

    #wrapper { width:980px;margin:0px auto; }
    #scrollWrap { width:220px; height:500px; overflow:hidden; }
    #pageleft { float:left;margin:10px 10px;width:228px;height:500px;border:1px solid #313131;overflow:scroll; }
    
    #pageleft > #leftheader { width:228px;height:48px;background-image:url(http://i48.tinypic.com/2ecnjx2.png);border-bottom:1px solid #313131;display:block;position:absolute; }
    
    #pageleft a { width:220px;height:66px;display:block;border-bottom:1px solid #313131;transition: all 400ms linear; }
    
    #pageleft a:hover { background-color:#5ca0d1; }​
    

    http://jsfiddle.net/Sgq4j/3/

    Referred to this solution: Remove HTML scrollbars but allow mousewheel scrolling

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to have two div's side-by-side with the left one fixed and the
I have a div in left side, I want once click on div slide
I want a floating div to the right side of the content, I have
I have two columns, the left side div is a navigation bar and it
I have a problem here, i want the left hand side menu to slide
I have a menu on the left side of my page and the content
Say I have default content on the left side of my application, which is
I have two div's (side by side) inside a parent div, i want right
I have a div with overflow:hidden , inside which I show a phone number
I want to be able to hide the left hand side of the screen

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.