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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T15:56:11+00:00 2026-05-30T15:56:11+00:00

I am using JQuery tabs in my page, and have successfully managed to place

  • 0

I am using JQuery tabs in my page, and have successfully managed to place the tabs below the content using some borrowed CSS settings/script.

My page has a side bar on the left side, and a menu banner at the top of the page. The content then appears between the top menu banner and the tabs panel at the bottom.

I noticed there is a small blank space at the bottom of my page whichs results in the vertical scrollbar showing. I would like to remove this space (and the scrolling) and need some help from an expert.

I know the space is caused by the tabs section of my content because I have used firebug and elimination techniques on other major elements and the space only appears when I introduce the tabs.

I have set the CSS padding, margins, and border-width to zero but still see the space.

Here is my HTML, CSS, and script:

<head>
    <title>Rfq</title>
    <%= stylesheet_link_tag "rfq.css" %>
    <%= javascript_include_tag :defaults %>
    <%= javascript_include_tag "jquery-ui-1.8.10.custom.min.js" %>
    <%= javascript_include_tag "rfq.js" %>
    <%= csrf_meta_tag %>
</head>
<body>
  <!--the top menu bar-->
  <div id="rfq_menu_bar" class="ui-widget-header">Request for quote...</div>
  <!--the side bar collapsed-->
  <div id="rfq_side_bar_collapsed" class="ui-tabs-nav ui-state-active" >
  </div>
    <!--the tab panels-->
  <div id=rfq_tabs_parent class="ui-widget-content">
      <div id="rfq_main_tabs" class="tabs-bottom ui-widget-content">
        <ul>
          <li><a class="rfq_main_tab" id="items_tab" href="#rfq_items_panel">RFQ Items</a></li>
          <li><a class="rfq_main_tab" id="reports_tab" href="#rfq_reports_panel">RFQ Reports</a></li>
        </ul>
          <div class="rfq_tab_content" id="rfq_items_panel">bob</div>
          <div class="rfq_tab_content" id="rfq_reports_panel">jane</div>
      </div>
  </div>
</body>

And my CSS:

html, body {
margin: 0;
padding: 0;
height: 100%;
font-family: Verdana, Sans-serif;
font-size: 10px;
position: relative;
border-width:0;
}

#rfq_users_table_wrapper {
width: 100%;
left:0;
top:0;
position: absolute;
margin: 0;
padding: 0;
}

#rfq_menu_bar {
margin: 0;
padding: 0;
height: 8%;
font-family: Sans-serif;
font-size: 20px;
left:0;
width:100%;
border-width:0;
}

#rfq_side_bar_collapsed {
margin: 0;
padding: 0;
float: left;
height:92%;
width:2%;
border-width:0;
}

#rfq_main_tabs {
height:100% !important;
padding: 0;
margin:  0;
border-width: 0;
}


.ui-button-text
{
font-size: 10px;
}

#rfq_tabs_parent {
position:absolute;
left:2%;
width:98%;  !important;
height: 92% !important;
z-index: -2000;
margin: 0;
padding: 0;
border-width:0;
}

#rfq_items_panel {
padding: 0;
margin:  0;
border-width:0;
}

#rfq_reports_panel {
padding: 0;
margin:  0;
border-width: 0;
}

.rfq_tab_content {
height:100% !important;
width:100% !important;
padding: 0;
margin:  0;
}

.tabs-bottom {
position: relative;
padding: 0;
margin:  0;
}

.tabs-bottom .ui-tabs-panel {
height: 120px;
overflow: auto;
}

.tabs-bottom .ui-tabs-nav {
position: absolute !important;
left: 0;
bottom: 0;
right:0;
padding: 0 0.2em 0.2em 0;
}

.tabs-bottom .ui-tabs-nav li {
margin-top: -1px !important;
margin-bottom: 3px !important;
border-top: none;
border-bottom-width: 1px;
}

.ui-tabs-selected {
margin-top: -3px !important;
}

My Javascript:

// Positions tabs at the bottom of the content:

$( ".tabs-bottom .ui-tabs-nav, .tabs-bottom .ui-tabs-nav > *" )
    .removeClass( "ui-corner-all ui-corner-top" )
    .addClass( "ui-corner-bottom" );
  • 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-30T15:56:13+00:00Added an answer on May 30, 2026 at 3:56 pm

    I understand this is not an answer per say, rather a pain killer, but here you go. Add this to your styles:

    .ui-helper-clearfix::after {
        display: inline !important;
    }​
    

    Patched fiddle – http://jsfiddle.net/uTatW/

    Looks to be a problem with the clearfixes the tabs plug-in itself applies to its DOM nodes. Overriding the display: block it inherits from the styles removes this trouble seemingly without hurting anything.

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

Sidebar

Related Questions

I have a page that is using jQuery tabs. Within one of my tabs
I have some tabs using jQuery UI which work just fine, but I want
I have a page on which I'm using jQuery UI Tabs , what I'm
I am using jquery tabs to load content from a remote file. I have
Hello I have a page with some jquery ui tabs on it and they
I have a page that has two tabs created using jQuery, and I am
I have setup some tabs using jquery tools and the history plugin. When i
I have built two control containers on a page, one is using jquery-ui tabs
I am using jQuery UI Tabs with Ajax. We have content in the tabs
I am using jquery UI tabs I have three ajax tabs like so: <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.