Groups | Blog | Home
all groups > asp.net > january 2005 >

asp.net : DIV with automatic line feed


Raed Sawalha
1/9/2005 11:59:01 PM
Is it possible to make the following div to generate automatic line feed when
user start writing and reaches the DIV bounderies like in textarea, the case
I have when type a continous chars without white space it wont give a new
line but when feed a white space it give an automaic new line :-

<DIV id=HTMLEditor dir="ltr" contentEditable=true
style="BORDER-RIGHT: #1979e1 1px groove; BORDER-TOP: #1979e1 1px
groove; VERTICAL-ALIGN: middle; OVERFLOW: auto; BORDER-LEFT: #1979e1 1px
groove; WIDTH: 560px; BORDER-BOTTOM: #1979e1 1px groove; HEIGHT: 98%;
BACKGROUND-COLOR: white"
align=left runat="server" width="99%"
height="100%" enableviewsate="false"></DIV>

Eliyahu Goldin
1/10/2005 10:33:54 AM
Is not it what it is doing?

Eliyahu

[quoted text, click to view]

AddThis Social Bookmark Button