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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T04:48:49+00:00 2026-06-02T04:48:49+00:00

I am developing an application using html and javascript. I have a ui-scrolllistview on

  • 0

I am developing an application using html and javascript. I have a ui-scrolllistview on one page and I have it populating ok. But if a word is too big for the listview it just extends the width of it so it goes out of the screen.

Is there a way to set the length of a word or word wrap words within the ui-scrolllistview so that it does not cut off the right border of the ui-scrolllistview?

Thanks

EDIT

here is my code that is creating the page with the ui-scrolllist

<div data-role="page" data-theme="f" id="choose-building">

    <div data-role="header" data-theme="f" data-position="fixed"  data-tap-toggle="false">
    <h1><img src="images/building.png" height="80px"></h1>
        <div data-role="controlgroup" class="ui-btn-right topzero">
        <a href="#" data-rel="back"  data-role="button" data-inline="true"  data-direction="reverse">Back</a>
        <a id="applyFilter" data-role="button" data-inline="true" onClick="pickedBuildings();">Chosen Buildings</a>
        </div>
    </div>

    <div data-role="content" data-scroll="Y" class="ui-scrolllistview" >
        <form>

        <div data-role="fieldcontain">          

            <fieldset data-role="controlgroup" id="CatagoryChooseBuilding" >
            </fieldset>

        </div>
        </form>
    </div>
    <div data-role="footer" data-theme="f" data-position="inline" data-id="main-footer"  data-tap-toggle="false">
        <div data-role="navbar" >
        <ul>
            <li><a href="#home" data-role="button" data-icon="myapp-home" >Home</a></li>
            <li><a href="#page-map" data-role="button" data-icon="myapp-building-a" >Buildings</a></li>
            <li><a href="#more" data-role="button" data-icon="myapp-more" >More</a></li>
        </ul>
        </div><!-- /navbar -->
    </div><!-- /footer -->  
</div>
  • 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-02T04:48:51+00:00Added an answer on June 2, 2026 at 4:48 am

    I believe it sounds like you’re looking for text-overflow and white-space and possibly overflow.

    You can use these different CSS properties to stop the text at whatever dimensions you would care to after setting up your margins and padding.

    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    

    Edit: Example

    You can adjust the margin properties until you have scooted your text as far away from the scrollbars as you would like.

    Edit: If you want to allow word wrapping where the Framework (jQuery mobile according to your tags) truncates it for you, on the inner-most element that contains your text, specify overflow: visible; and white-space:normal;

    If you are not seeing the behavior change as you are expecting and wanting it to, then view the page through a Developer Tools window. These are built into Chrome and IE and you can use Firebug for Firefox. These allow you to test stylesheet changes ‘on the fly’ which sounds like what you’ll need to get the behavior you’re expecting.

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

Sidebar

Related Questions

Well from last couple of weeks I am developing an application using html, javascript
I´m developing a Java EE application and I'm using Struts. When I use html
I'm developing application using backbone.js & jquery. I have following code in model: runReport:
I am developing application using phonegap in eclipse for android .I have created folder
I am developing an application in which I am using HTML documents.Now I want
I'm developing a javascript-based application. Using id's to identify elements is often considered a
i am developing a standalone application using html and want to call method residing
I am developing a web application and using quite a lot of JavaScript doing
I am developing the application using jQuery Mobile 4.1. In my app, I have
I'm investigating the feasibility of developing a native (hybrid) app based on HTML/Javascript (using

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.