Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Css word-break but unbreak word

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #43122
    rajKapoor
    Member

    Hello Team,
    I am using html editor from a 3rd party and my requirement is to get rid of horizontal scrolling and perform text wrapping. i was able to do so by using “word-wrap: break-word” property of CSS. However, I would like to move the word to next line if the word is breaking. Any suggestions, how can I do that?
    P.S: div tag is not an option for me as the editor uses div tag

    #126840
    Paulie_D
    Member

    We really need to see the code in Codepen or a live link.

    I don’t see how word-wrapping would affect horizontal scrolling.

    #127659
    rajKapoor
    Member

    white-space: normal; does the trick but I found out I my text had non break spaces so that was giving me a challenge

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.