css - chrome - editable divs - line breaks in the middle of words? -
i using content editable divs , have overflow set hidden. in firefox div's correctly displayed , if word longer div rest hidden , no line break occurs. chrome inserting line breaks in middle of words longer div. way fix this?
it sounds chrome has 'word-wrap: break-word' style on default.
in div, try resetting worp-wrap normal , see if fixes it:
<div style="word-wrap: normal;">..</div>
Comments
Post a Comment