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

The Archive Base Latest Questions

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

I placed a button in the header of a page and it renders half

  • 0

I placed a button in the header of a page and it renders half the height. As well, there is a width gap to the right.

I have used fairly simple jQueryMobel syntax.

URL: http://sandapps.com/Data/Mobile_Energy_Oil_Gas_Pertroleum_Coal_Solar_Wind.aspx

On an iPhone 4S:

enter image description here

  • 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-29T21:30:12+00:00Added an answer on May 29, 2026 at 9:30 pm

    You should be able to create buttons without text using the jQuery Mobile framework and without hacking the framework’s CSS. I do often and I haven’t had them display like yours. For icons without text I believe you are supposed to declare: data-iconpos="notext" as an attribute for the anchor tag:

    <div data-role="header">
        <h1>...</h1>
        <a href="#" data-iconpos="notext" data-icon="home">Some Text That Won't Display</a>
    </div>
    

    Source: http://jquerymobile.com/test/docs/buttons/buttons-icons.html

    Here is a demo using the same <a> code as above: http://jsfiddle.net/3njz7/

    Also note that you can have text in your anchor tag if you set the data-iconpos attribute to notext.

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

Sidebar

Related Questions

i placed one button in a page .when click on that need to show
I have an animated gif placed on the button. It's animating ok (most of
I have placed an Image as a button in my App and I want
I have small page, it looks follows: Some header Label with text only for
I have this code on my print.css: #header, #tae, #nav, .noprint {display: none;} width:
I am using jquery mobile. I have created a very simple page where there
I am showing a Popover from a Button which is placed in the header
is it possible to place a button in TabContainer header on the left side
I just found out that every time onclick event for my <button> placed inside
We have place a button on a view. When we press it, nothing happens.

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.