Re: textarea - autoamtic line break

2007-02-02 Thread [EMAIL PROTECTED]
ok thanks! i looked on the textwrapper api, but i didn't find a function to replace the line breaks which are set by browser... there are difference in line breaks between the browser? if there are - there will be never a solution given to solve this problem by setting \n for line breaks which set

Re: textarea - autoamtic line break

2007-02-02 Thread Waylan Limberg
On 2/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > The reason for my question is following: > > i would like to use a textarea which size is fix (rows/cols). > The text who everybody write into, should not be longer as the given > size of area. > So...if the line ends, the text should bre

Re: textarea - autoamtic line break

2007-02-02 Thread [EMAIL PROTECTED]
The reason for my question is following: i would like to use a textarea which size is fix (rows/cols). The text who everybody write into, should not be longer as the given size of area. So...if the line ends, the text should break automaticly in the next line. And this line break should allready

Re: textarea - autoamtic line break

2007-02-02 Thread Kenneth Gonsalves
On 02-Feb-07, at 4:26 PM, Simon Brunning wrote: >> field's value on the server side, post-submittal. I do that with one >> of my own forms (in order to fit the text in a box in a pdf). > > Why write your own? > > hey cool - just what i wanted at

Re: textarea - autoamtic line break

2007-02-02 Thread Simon Brunning
On 2/1/07, Sarcastic Zombie <[EMAIL PROTECTED]> wrote: > > It would be pretty simple to write a python function to dice up the > field's value on the server side, post-submittal. I do that with one > of my own forms (in order to fit the text in a box in a pdf). Why write your own?

Re: textarea - autoamtic line break

2007-02-01 Thread Sarcastic Zombie
Why do you need to break the lines? It's hard to give you a good solution without knowing the reason. Do you need your text to be broken along a certain max-char-width parameter? It would be pretty simple to write a python function to dice up the field's value on the server side, post-submittal.

Re: textarea - autoamtic line break

2007-02-01 Thread [EMAIL PROTECTED]
I tested this css tag on different browser (ie, firefox etc.). But das automatic line break would not be set. Is there any way to fix this on server side? For PHP i found any functions to fix this problem... On 29 Jan., 11:34, "Aidas Bendoraitis" <[EMAIL PROTECTED]> wrote: > Line-break CSS prop

textarea - autoamtic line break

2007-02-01 Thread [EMAIL PROTECTED]
hi, I use a textarea which size is set by row and cols. If I write text into the field until the line ends, the text continue automaticly in the next row. But after post, the line break isn't set in text by "\n" If have set by css -> { white-space:pre} Is there a way to solve this problem? th

Re: textarea - autoamtic line break

2007-01-29 Thread Aidas Bendoraitis
Line-break CSS property should help you here: http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/linebreak.asp However, it may not be supported by most browsers at the moment. Regards, Aidas Bendoraitis aka Archatas On 1/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >

textarea - autoamtic line break

2007-01-26 Thread [EMAIL PROTECTED]
Hi, i have a fixed textarea, rows and cols are defined. if the user write a text and run out of a line without a break, it should set a new line. But a new line is only set if the user press line break. i test following: css {white-space:pre} but this dont't help, is there a possibillity to