Reputation: 358
I have an HTML textarea with a "placeholder" attribute that includes the code for a line break, &\#10;
. It works fine on Chrome, but the line break is ignored on other browsers. What is causing this inconsistency, and how do I work around it?
Upvotes: 11
Views: 7207
Reputation: 164
If it does not work, try inserting your place holder text via javascript?
See Insert line break inside placeholder attribute of a textarea?
Upvotes: 7