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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T00:29:31+00:00 2026-06-01T00:29:31+00:00

I am building a mobile webapp with jquery mobile. Now what I have. I

  • 0

I am building a mobile webapp with jquery mobile. Now what I have. I have a collabsible element like you can see on this link. Now for each record that I get back from the database it is gonna make a new collabsible element. Here is my code for the collabsible element.

<div data-role="collapsible">
            <h3>~ITEM.FIRSTNAME~ ~ITEM.NAME~</h3>
                <div id="buttons">
                    <a href="mailto:~ITEM.MAIL~?subject=vul%20hier%20onderwerp%20in!&body=De%20body!" data-role="button">Mail: ~ITEM.MAIL~</a>
                    <img style="position:absolute;top:290px;right:45px;" src="images/mailIcon.png" width=32 height=32 />
                    <a href="tel:~ITEM.PHONENUMBER~" data-role="button">Bel ~ITEM.PHONENUMBER~</a>
                    <img style="position:absolute;top:360px;right:45px;" src="images/phoneIcon.png" width=32 height=32 />

                </div>
            </div>

I have 2 images a phone icon and a mail icon. Like the positioning above they are only on the first two buttons in my first collabsible element. But what do I need to do so that these buttons also appear on my following buttons?

So my question is, how can I position these 2 buttons to the div with ID=”buttons”.

–EDIT–
Here is a link to the actual page.

Kind regards,

Stef

  • 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-06-01T00:29:33+00:00Added an answer on June 1, 2026 at 12:29 am

    As I suspected, the absolute positioning of the icons is the culprit. You’re positioning the two icons using position:absolute and a top offset, but there’s no element around it with a position:relative. This means the positioning starting point falls back to the top of the page.

    In other words, your second (and third, fourth, etc if you have more results) set of icons are there, but they are positioned at the same place as the first two icons: at exactly 290px and 360px from the top of the page.

    Instead, place the img with the icon inside the <a> element that is each item, and position relatively to it’s surroundings. This would work probably:

    <div data-role="collapsible">
       <h3>~ITEM.FIRSTNAME~ ~ITEM.NAME~</h3>
           <div id="buttons">
              <a href="mailto:~ITEM.MAIL~?subject=vul%20hier%20onderwerp%20in!&body=De%20body!" data-role="button">Mail: ~ITEM.MAIL~
                  <img style="float:right;margin:5px 15px" src="images/mailIcon.png" width=32 height=32 />
              </a>
    
              <a href="tel:~ITEM.PHONENUMBER~" data-role="button">Bel ~ITEM.PHONENUMBER~
                  <img style="float:right;margin:5px 15px" src="images/phoneIcon.png" width=32 height=32 />
    
              </a>
                </div>
            </div>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am building a webapp using jQuery Mobile and AJAX to pull out SQL
I'm building a mobile web app with jQuery Mobile and I have a problem.
I am building Dojo mobile app. I have a Json file like: { Introduction:
I am building a webapp with jquery mobile where I need to get data
I'm building a mobile website. I use regular html for the dropdown like below.
I'm working on building an iPhone app with Titanium Mobile 1.0 and I see
I am building this mobile website. If you check it on your mobile browser
I am building a webapp using the jqm framework and I have been attempting
I'm building a mobile interface with JQuery Mobile for an already existing web app
I am building a mobile site that works like a slideshow. There are a

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.