I have tried a few approaches but none worked. Does anyone know a the nifty trick to get around this?

<textarea placeholder="This is a line \n this should be a new line"></textarea>

<textarea placeholder="This is a line     
should this be a new line?"></textarea> <!-- this works in chrome apparently -->

UPDATE: It doesn’t work in chrome. It was just the textarea width.

See: http://jsfiddle.net/pdXRx/

23 Answers
23

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *