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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T10:03:47+00:00 2026-05-11T10:03:47+00:00

I have an web application with a dynamic number of tabs ranging between 2

  • 0

I have an web application with a dynamic number of tabs ranging between 2 to 20.

I’m currently using Jquery UI’s tab plugin, but finding that it’s behaviour is less then Ideal (i.e. around 12 tabs, when it wraps, the second line of tabs move with the tab selection and sometimes jump across 3 lines instead of two.

This is a two-fold question, first off does anyone have any idea how I could stop the second row of tabs jumping around when the selection changes.

Alternatively does anyone know of a tab plugin for jQuery that handles multiple lines of tabs well (if I can’t find a resolution I might end up using ExtJS or something similar, but was trying to keep this application fairly light-weight).

Answer

After further investigation it turns out this was being caused by the Jquery UI theme I was using, this was the problematic style:

.ui-tabs .ui-tabs-nav li.ui-tabs-selected {  padding-bottom: .1em; border-bottom: 0; } 

I just removed the padding-bottom: .1em and it resolve the issue (the clue was that the second row of elements were moving along with the selection changing).

  • 1 1 Answer
  • 1 View
  • 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. 2026-05-11T10:03:48+00:00Added an answer on May 11, 2026 at 10:03 am

    you don’t really need an extension at all. Just use floating LI’s with an unstyled UL. The LI’s should wrap properly. Usually a good idea to ensure words in the same tab do not wrap by replacing ‘ ‘ with ‘ ‘.

    My custom tab control is built dynamically with ASP.Net, but the tabbing and the hide/show functionality is all jQuery.

    <div id='tabWrapper'>     <ul id='tabContainer'>         <li>Tab&nbsp;1</li>         <li>Tab&nbsp;2</li>         <li>Tab&nbsp;3</li>      </ul> </div> 

    Basic CSS

    #tabWrapper {     border-bottom: solid 1px #676767; }  #tabContainer  {     padding:0; margin:0;     position:relative;     z-index: 1;     float:left;     list-style:none; }  #tabContainer li  {     float:left;     margin:0;     cursor: pointer;     background: f1f1f1;     border-top: solid 1px #676767;     border-left: solid 1px #676767;     border-right: solid 1px #ababab;     margin-bottom: -1px; }  #tabContainer .selected, #tabContainer .selected:hover {     background: #fff; } 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a ASP.NET Web Forms application and I'm using some dynamic controls in
I have created a web application using Jersey and Dynamic Web Project of Eclipse.
I have just create a very basic Dynamic Data web application using Entity Framework,
I have a war file which is a simple dynamic web application where I
In my web application, I have a dynamic query that returns huge data to
I have web application written in java using Eclipse. It has just one servlet
I have an ASP.NET Dynamic Data web application, with an entity called ActivationResource .
I have a dynamic web application in Java EE with JSF, Facelets, Richfaces. My
I have a web application that has a dynamic javascript calendar, which allows users
I have a number of different webservices in the C# web application I'm building

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.