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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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   1720 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?