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 9021241
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T05:12:39+00:00 2026-06-16T05:12:39+00:00

I have the following DIV which primarily has two sections – left and right.

  • 0

I have the following DIV which primarily has two sections – left and right. The right section has some images and I am not really worried about that. It’s the span class=”left” that’s worrying. I am not able to add a scrollbar to it.

<div id="about">
        <span class="quoted">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris </span><br/>

        <span class="left"><span class="paragraph_title">ABOUT</span><br/>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"<br/><br/>
        At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat<br/><br/>

        Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciun<br/><br/>       

        </span>

        <div class="right">
            <ul>
                <li><span class="paragraph_title">RECENT ACTIVITIES</span></li>
                <li><a href="" data-rel="prettyPhoto[recents]" title="" class="rollover"><img src="" alt="recent project"/></a><a href="#" target="_blank">www.stackoverflow.com</a></li>
                <li><a href="" data-rel="prettyPhoto[recents]" title="" class="rollover"><img src="" alt="recent project"/></a><a href="#" target="_blank">www.stackoverflow.com</a></li>
                <li><a href="" data-rel="prettyPhoto[recents]" title="" class="rollover"><img src="" alt="recent project"/></a><a href="#" target="_blank">www.stackoverflow.com</a></li>
            </ul>
        </div>
    </div>

and some CSS for the About Div that goes as

#about {
    position: absolute;
    padding: 0px 0px 0px 30px;
    top: 210px;
    opacity: 0;
    display: none;
    z-index: 8;
    overflow: auto;
}

#about .quoted {
    font-size: 21px;
    font-weight: 300;
    line-height: 27px;
    color: #4bc9f2; 
    text-shadow: 0px 2px 2px #000;
}

#about .paragraph_title {
    font-size: 14px;
    font-weight: 700;
    color: #4bc9f2; 
    line-height: 28px;
}

#about .left {
    font-size: 13px;
    font-weight: 300;
    line-height: 16px;
    color: #fff;    
    float: left;
    padding: 60px 0px 0px 0px;
    width: 490px;
}

How can I add a scroll bar to the Span tag and make it Scroll Vertically and NOT horizontally. You can assume the Span height to be anything.

  • 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-16T05:12:42+00:00Added an answer on June 16, 2026 at 5:12 am

    How can I add a scroll bar to the Span tag and make it Scroll Vertically and NOT horizontally. You can assume the Span height to be anything.

    In order to do this for a span, you’ll need those CSS

    display: block;
    overflow: auto;
    

    Then, you might need to apply a height if the span use a float or if there isn’t an appropriate container.

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

Sidebar

Related Questions

Consider the following HTML. I have a .wrap div which has left and right
I have a <div id=outer> which has the following css: position:relative; width:300px; height:125px; float:left;
I have a form with id theForm which has the following div with a
In the following HTML page, I have a div, which contains two spans (
I have the following HTML DIV which does not work using FadeIn in IE:
Ok, I have the following layout/CSS: div#wrap { margin-left: auto; margin-right: auto; position: relative;
I have the following HTML: <div id=root> <div id=left_side>LEFT</div> <div id=center_s>CENTER</div> <div id=right_side>RIGHT</div> </div>
I have the following code: <div><strong>Name: </strong><?php echo anchor('http://'.$link, $row->Name); ?></div> Which takes a
For example, I have the following tag which its content is short <div>It is
I have following div in a page (I can not modify). <div id=:0.control>Click me</div>

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.