Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

HTMLeditorfield


Go to End


4 Posts   1955 Views

Avatar
r0ar

Community Member, 13 Posts

1 September 2008 at 9:16pm

Hi!

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

Thanks!

Avatar
grilldan

Community Member, 135 Posts

1 September 2008 at 10:01pm

You should be able to do it with css.

Avatar
r0ar

Community Member, 13 Posts

4 September 2008 at 11:22pm

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

Avatar
grilldan

Community Member, 135 Posts

4 September 2008 at 11:25pm

Edited: 04/09/2008 11:27pm

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?