Jump to content

How to format text in a Textarea?

Dr Pepper Can

Recommended Posts

  • 1 month later...

Hello Dr.Pepper Can, 

You can define a class in your css stylesheet, and then apply that class to the textarea elements where you want to control the formatting in that particular way.


.myformat { 

<textarea class="myformat">Generated content</textarea>


Adrian Gates

Sr.Web Developer

Edited by Ingolme
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...