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

  • Home
  • SEARCH
  • 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 946017
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T22:50:53+00:00 2026-05-15T22:50:53+00:00

I have a div with 600px X 150px and i need to paste there

  • 0

I have a div with 600px X 150px and i need to paste there a jQuery ui tabs. There will be only 2 tabs, but each tab will contain a lot of text and images, but i don’t want to resize div. If i insert overflow option in css to div or .ui-tabs there appear 2 scrolls – 1 from div and another in tab and it scrolls all tab panel.
Question: how to insert vertical scroll into tab content?

Thanks in advance.

  • 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-05-15T22:50:54+00:00Added an answer on May 15, 2026 at 10:50 pm

    I think I have a solution for you, if i understand your question correctly. Here’s the live example on jsFiddle.

    I added two classes, one that’s applied to the overall tab element and one that’s applied to each tab panel.

    .container{
        width: 600px;
    }
    .panel{
        height: 150px;
        overflow: auto;
    }
    

    (The container class could also be renamed to ui-tabs so that you add to the jQuery UI ui-tabs class, and the panel class could be renamed to ui-tabs-panel so that you add to the jQuery UI ui-tabs-panel class.)

    Here’s the mark-up that I used…

    <div class='main'>
        <div id="tabs" class='container'>
            <ul>
                <li><a href="#tabs-1">Tab 1</a></li>
                <li><a href="#tabs-2">Tab 2</a></li>
            </ul>
            <div id="tabs-1" class='panel'>
                <p>tab1 text...</p>
            </div>
            <div id="tabs-2" class='panel'>
                <p>tab2 text...</p>
            </div>
        </div>
    </div>
    

    When I hook this up with some jQuery UI tab magic:

    $(document).ready(function() {
        $("#tabs").tabs();
    });
    

    I end up with a single scroll bar inside the tab.

    I hope this helps!

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

Sidebar

Related Questions

I have a wrapper div with a height of 600px and a width of
I have outer div and inner div. I need to place inner div at
I have a div with a width of 200px. There is text inside that
I have a <div> which I want to display full screen, but I also
I have a div tag declared like this: <div id=carRight style=position:absolute; left:600px; top:170px;> <img
Possible Duplicate: How to show/hide a div on mouseover using jquery? I have a
New to css. I have a div element, in which there are multiple links
You need to have several 200px wide DIVs (.item) inside a 620px wide DIV
This is driving me crazy. I am building a page which will only have
I have a div called block_inside. In it, there are two divs, text_block and

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.