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 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

(Eclipse 3.4, Ganymede) I have an existing Dynamic Web Application project in Eclipse. When
I have a Dynamic Data Entities Web Application that uses a database with GUIDs
I have a web application using ASP.NET 2.0 and I want to know if
I have a web application that builds a dynamic PDF with FPDF and allows
I am using ASP.NET Dynamic Data Entities project to generate a web application for
I have a web application that should behave differently for internal users than external
I have a web application written in C# that consumes several internal web services.
I have a web application developed with ASP.net and C# that is running on
I have a web application that is becoming rather large. I want to separate
I have a web application that needs to take a file upload from the

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.