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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T10:50:32+00:00 2026-05-27T10:50:32+00:00

I am adding navbar in my header, trying to have it look like the

  • 0

I am adding navbar in my header, trying to have it look like the tab system found here:
http://jquerymobile.com/demos/1.0/docs/toolbars/docs-navbar.html

however when I add this code below to my app, the header navbar has padding and weird spaces all around the tab button.

<div data-role="header">        
    <div data-role="navbar">
        <ul>
            <li><a href="#">One</a></li>
            <li><a href="#">Two</a></li>
            <li><a href="#">Three</a></li>
        </ul>
    </div><!-- /navbar -->
</div><!-- /footer -->

I tried setting margin to 0, but that didn’t remove the empty space around the tabs,
can someone help?

Thanks

Screen shot of the weird spacing around the tabs

  • 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-27T10:50:33+00:00Added an answer on May 27, 2026 at 10:50 am

    Thanks to everyone who replied but I figured out my problem.

    I’m using a mobile framework called appMobi to make mobile apps in javascript/css/html,
    and when using a js UI framework like jquery mobile, I had some tab issues (and cutting off of the bottom footer which I still don’t know why…).

    The issue was that I was importing the jquery.mobile.min.js twice, once in the header, and once right below the body tag. I know, it sounds weird, but in my defense, an appMobi video told me to do it…probably out of date video…

    So, fix is to only import the jquery js files once at the top in the header.

    Cheers,

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

Sidebar

Related Questions

Adding CSS to RSS is quite simple as shown in here: http://www.petefreitag.com/item/208.cfm Creating RSS
I have a navbar that is like so: <ul> <li><a href=index.html>Home</a></li> <li><a href=gallery.html>Gallery</a></li> <li><a
Adding Exceptional Handling is a good practise, but I have a doubt, In our
I have the following structure in html5: html - body - header - #wrapper
Adding files to .hgignore will prevent them from being tracked. But we have some
Adding some gui modifications and I want to have a button which is 10pixels
Adding the X-Frame-Options DENY to the response header helps protect against malicious framing of
Adding methods to native JavaScript objects like Object, Function, Array, String, etc considered as
I'm trying to animate adding a new subview to a table view. (When the
Adding contents to listview is a simple proceess like ListViewItem item = new ListViewItem();

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.