I have a fixed width div on my page that contains text. When I enter a long string of letters, it overflows. I do not want to hide the overflow. I want to display overflow on a new line, see below:
<div id="textbox" style="width:400px; height:200px;"> dfssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssfddddddddddddddddddddddsdffffffffffffffffsdffffffffffffffffdfssssssssssssdf </div>
In any case, disable the overflow and put the overflow text on a new line ??? Twitter does something like this, but I can't figure it out with CSS, maybe they use Javascript.
Can anyone help with this?
css text overflow
user342391 Aug 27 '10 at 19:11 2010-08-27 19:11
source share