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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T04:33:19+00:00 2026-06-01T04:33:19+00:00

i am doing a mobile version of a website using JQuery Mobile and JSON

  • 0

i am doing a mobile version of a website using JQuery Mobile and JSON for fetching the data. The problem that i have is that when you open the website with your mobile the DIVs that are with data-role="collapsible" have a fixed height wich means if the title is “This is the title of the news” in the mobile you see “This is the title…” How can i change that height?

  • 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-01T04:33:20+00:00Added an answer on June 1, 2026 at 4:33 am

    The height is not specified, but a property is set so that the text for the headers of collapsible elements are one-line. All you need is to tweak a bit of CSS:

    .ui-page .ui-content .ui-collapsible .ui-btn-inner {
        white-space : normal;
    }​
    

    Here is a demo: http://jsfiddle.net/yvJ93/

    By default jQuery Mobile applies white-space : nowrap to collapsible headers which makes them single-line.

    Also, here is some good reading for white-space: https://developer.mozilla.org/en/CSS/white-space

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

Sidebar

Related Questions

I have created a mobile version of my website using jquery mobile. My site
I want to create a horizontal swiping effect using jQuery Mobile. After doing a
Doing some jquery animation. I have certain divs set up with an attribute of
I'm thinking about doing a mobile version of our website. Some people says it's
I have a mobile app using JQuery Mobile. Because of issues with blackberry I
This is my first time doing mobile development with twitter. I'm using Adobe Flash
I'm doing a jQuery Mobile / Rails app and I made it app-capable for
We have a business application written for Windows mobile. It has people doing inventories.
I was designing a mobile version of my website but then realized I need
I am trying to create a mobile version of a web application using VS2010

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.