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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T12:32:40+00:00 2026-05-20T12:32:40+00:00

i used word-wrap: break-word; text-align:justify; for a div. If a single word is so

  • 0

i used

word-wrap: break-word;
text-align:justify;

for a div. If a single word is so long that the div width can’t fit it even if the word is placed in the next line, then the word is wrapped i.e. broken in lines. But if a second word with width less than or equal to the div width appears after a first word and the div width cannot fit the second word then the second word is placed in the next line. But I also need the second word to be wrapped while it sits by the first word. How can I do that ? Isn’t the word-wrap property supposed to work for my later instance too?

Any solution?

  • 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-20T12:32:41+00:00Added an answer on May 20, 2026 at 12:32 pm
    1. Word-wrap is a IE invention and became part of the CSS3 specification, as such a lot of browser (versions) don’t support it.

    2. Implementations of CSS word-wrap will most likely vary cross-browser, even in IE.

    3. It’s better not to rely on CSS word-wrap just yet, the design must accomodate long words if applicable.

    There is no straight forward solution possible and one can only wait till CSS word-wrap is properly supported and implemented. Until then, make design accomodate long words.

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

Sidebar

Related Questions

Word-wrap as follows: /* The Breakage of Too Long Words */ div.break_word { width:
I have a table coded as below; <table style=table-layout:fixed> <tr> <td class=htTd width=100 style=word-wrap:break-word>someDynamicLongtextsomeLongtextsomeLongtextsomeLongtextsomeLongtextsomeLongtextsomeLongtextsomeLongtext</td>
What is the difference between "word-break: break-all" and "word-wrap: break-word"? When I used both,
I've noticed that the word monad seems to be used in a somewhat inconsistent
I'm trying to word wrap a richeditable text but I'm having some problems: I
I'm creating list dynamically in javascript. I want to break the long word in
By default lxml doesn't understsand the wbr tag, used to add word-breaks in long
There's a word that's used in API design that relates to the coupling between
I use Skype under Ubuntu 12.04 and sometimes it's getting hang (I used word
I'm interested in playing around with the word list used in the popular iPhone

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.