Set width for nicEdit editor

Asked

Viewed 183 times

2

Does anyone know how to set the width of the nicEdit editor?

  • You want to define inline? If yes, just use simple HTML: width: 100px

1 answer

1


Define in your textarea in his style the width: in the value of 100% or pixel the desired value (300px), example:

<textarea name="area" style="width: 100%;">
    Some Initial Content was in this textarea
</textarea>

<textarea name="area" style="width: 300px;">
    HTML content default in textarea
</textarea>

Reference site: Demo - Nicedit

  • I didn’t know I had to set straight on the component, I thank you again maria.

  • No @Marconi ... this strange behavior you could open another question ...

Browser other questions tagged

You are not signed in. Login or sign up in order to post.