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

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -