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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T07:52:54+00:00 2026-06-11T07:52:54+00:00

I have HTML and CSS as shown in http://jsfiddle.net/Lijo/Ydjde/ The problem is the text

  • 0

I have HTML and CSS as shown in http://jsfiddle.net/Lijo/Ydjde/

The problem is the text inside div is not confined to the div. It breaks the div and write. How can we wrap the text inside the div itself with following features?

• The full text will be readable

• It will not break the div

Is there a way to use it in CSS 2.1? I believe word-wrap is CSS 3.0 feature.

Note: I have width defined as width:100px; and width:30px; for the first and second divs

Note: The span is generated from ASP.Net Label control. Hence we cannot change/replace the span. The problem is to be resolved using CSS.

 <span id="detailContentPlaceholder_Label1">25123456789</span>

enter image description here

Reference:

  1. Word-wrap in an HTML table
  2. CSS word-wrapping in div
  3. CSS3 word-wrap Property
  • 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-11T07:52:56+00:00Added an answer on June 11, 2026 at 7:52 am

    word-wrap: break-word; is your friend. See your updated JSFiddle.

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

Sidebar

Related Questions

I have a list with CSS and HTML at http://jsfiddle.net/RyYem/2/ Problem Now listen very
Using this really simple html / css ( http://jsfiddle.net/XXzTj/ ) <div style=background-color:red;> <div style=margin:12px;
I have checkboxes as shown in http://jsfiddle.net/Lijo/Fw3fz/ . I need to align the checkboxes
http://jsfiddle.net/Cyjye/ I m new to jquery. I have made html table shown in jsfiddle.Firstly
I have created a example here: http://jsfiddle.net/zidski/TFBqf/7/ This is not working: var a =
I have two jsFiddles: http://jsfiddle.net/kRyhw/3/ http://jsfiddle.net/kBMSa/1/ The first jsFiddle shows code which takes HTML
http://jsfiddle.net/KKL5G/ Please take a look at the above html and css for the buttons.
I have HTML + CSS text. I need some lib with simple function like
Here is my jsFiddle for the following question: http://jsfiddle.net/arelia/Rruxf/ I'd like to have a
Good Day all, i have been working with http://jsfiddle.net , the sample app i

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.