Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » HTMLeditorfield

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1442 Views
  • r0ar
    Avatar
    Community Member
    13 Posts

    HTMLeditorfield Link to this post

    Hi!

    How do I change the width of the html text area?

    Thanks!

  • grilldan
    Avatar
    Community Member
    135 Posts

    Re: HTMLeditorfield Link to this post

    You should be able to do it with css.

  • r0ar
    Avatar
    Community Member
    13 Posts

    Re: HTMLeditorfield Link to this post

    Thanks for the reply!!

    I have tried looking in the CSS but I can't see where this is.

    I can change the width of a textareafield through the css but I can't see where to change the width of a HTMLeditorfield. t.t t.t

  • grilldan
    Avatar
    Community Member
    135 Posts

    Re: HTMLeditorfield Link to this post

    What is the class or id of the html text field?

    (If you are using a premade theme, check the form.css)

    you could do:

    form textarea {
    width: 999px;
    }

    but that will cause every textarea in a form to be that width.

    **edit**
    Can you post a snippet of the html from what you want to format with css?

    1442 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.