How do i make the text in this div expand vertically and not horizontally?
Posted
by Shripad K
on Stack Overflow
See other posts from Stack Overflow
or by Shripad K
Published on 2010-06-16T05:46:00Z
Indexed on
2010/06/16
5:52 UTC
Read the original article
Hit count: 185
Here is something that has bogged me down for quite sometime. I have created two fiddles so you can test live:
Fiddle #1: http://www.jsfiddle.net/Jdk9R/2/
Fiddle #2: http://www.jsfiddle.net/d5PEu/
Looking at the Fiddle #1 you can make out that if the text is not formatted properly with spaces, the text overflows the border. How do i make this function similar to fiddle #2? Or is this unavoidable?
© Stack Overflow or respective owner