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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T13:00:59+00:00 2026-05-19T13:00:59+00:00

In my page i got 3 divs [A] [B] [C] one next to each

  • 0

In my page i got 3 divs [A] [B] [C] one next to each other
[A] and [C] contain jquery ui tabs.

Now the middle div [B] contains a mapviewer instance. In order to match the side divs style i created an empty tab (with no tabs) and added my mapviewer tools as button masked a hrefs on the tab header.

the jquery

$("#maptabs").tabs();
$("#zoomin").button();
$("#zoomout").button();
$("#repeat0").button();
$("#repeat1").button();
$("#boxzoom").button();

and the html:

<div class="maptab">
<div id="maptabs">
    <ul>
        <li><div class="tls">
        <a href="#" id= "zoomin" onclick= "zoomIn();" >+</a>
        <a href="#" id= "zoomout" onclick= "zoomOut();" >-</a>
        <a href="#" id= "boxzoom" onclick= "boxzoomin();" >[]</a>
        <a href="#" id="repeat0" name="repeat">VIEW</a>
        <a href="#" id="repeat1" name="repeat" onclick="gotoADE();">EDIT</a>
</div></li>
            </ul>
<div id="tabs-1">
    <div id="mapAll">
        <div id="mapJ"></div>
        <div id="mouse_location" ></div>
    </div>
    </div>
    </div>
    </div>

now the problem is that those masked a hrefs come out as extremely huge buttons 80×40 pixel big. does anyone knows why? and if making a tab ui with buttons instead of tabs on its header is a stupid idea or not.

the reason I did not put normal buttons is that the page for some reason reloads when each tool is activated

  • 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-19T13:01:00+00:00Added an answer on May 19, 2026 at 1:01 pm

    http://jsbin.com/oface4/edit

    Just add these CSS rules to your code

    .ui-tabs .ui-tabs-nav li a {
       padding:0px;
    }
    .ui-button-text {
       font-size:13px;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i got div which contain 2 other divs, while i fade in outer div
I have got three pages/divs sliding through (on one index page) using javascript/jquery, and
i got one page from curl which contain <?xml version=1.0 encoding=UTF-8?> <ipinfo xmlns=http://data.quova.com/1 xmlns:xs=http://www.w3.org/2001/XMLSchema-instance>
I got two divs, one is a background and the other is the container
I've got an issue with floating divs in IE6. There's one navigation div on
$('.divMapTab:not(:first)').each(... I've got 2 divs on my page, both with class of divMapTab. In
I'm creating a website for a kiosk. I've got 3 divs on one page,
I got a lot of divs on page with ids like these: <div id=s001>,
At the top of a page I've got two divs, one floated to the
Some more detail: I've got two divs, one float:left , the other float:right ,

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.