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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T04:30:15+00:00 2026-05-20T04:30:15+00:00

I am doing a project using PhoneGap + jQuery Mobile in Android. I am

  • 0

I am doing a project using PhoneGap + jQuery Mobile in Android. I am trying to make the header like this:

[BTN 1]——–APP NAME——-[BTN 2]

USER NAME———————[BTN 3]

I tried the following code but only can get this:

    <div data-role="header" data-position="fixed">
        <a href="#" data-icon="gear">Edit</a>
        <h1>APP NAME</h1>
        <a href="#" data-icon="plus">Children</a>
        <div>
            USERNAME
            <a href="add.html?" data-rel="dialog" data-transition="slidedown" data-role="button" data-icon="plus">Measurement</a>
        </div><!-- /navbar -->
    </div>

[BTN 1]——–APP NAME——-[BTN 2]

USER NAME[BTN 3]

Then I tried following:

<div data-role="header" data-position="fixed">
    <a href="#" data-icon="gear">Edit</a>
    <h1>APP NAME</h1>
    <a href="#" data-icon="plus">Children</a>
    <div>
        USERNAME
        <a href="add.html?" data-rel="dialog" data-transition="slidedown" data-role="button" data-icon="plus" class="ui-btn-right">Measurement</a>
    </div><!-- /navbar -->
</div>

Then it become:

[BTN 1]——–APP NAME——-[BTN 3]

USER NAME———————

I think it is because [BTN 3] is on the top of the [BTN 2]

So how can I get the first layout? Any suggestion will be appreciated.

  • 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-20T04:30:16+00:00Added an answer on May 20, 2026 at 4:30 am

    try using ui-grid (aka Grids):
    DEMO: http://jquerymobile.com/demos/1.0a3/#docs/content/content-grids.html

    ..from there you can easily set the desired alignment of each container 🙂

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

Sidebar

Related Questions

I'm doing a personal, just for fun, project that is using screen scraping to
I have a small project I am doing in Python using web.py. It's a
As I am currently doing this project in only C, I've up untill this
i´m doing a project using C, and CodeBlocks is my IDE. Windows Vista is
I'm doing a project using FLARManager augmented reality and the Papervision3D library. Unfortunately, Papervision
I am doing my first project using Ruby on Rails and need to display
I'm doing an IE automation project using WatiN. When a file to be downloaded
I am doing tests on an ejb3-project using ejb3unit session bean test . The
I am doing tests on an ejb3-project using ejb3unit http://ejb3unit.sourceforge.net/Session-Bean.html for testing. All my
I'm doing another Java project for my class. In this assignment, we have to

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.