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.

All other Modules /

Discuss all other Modules here.

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

Userfoms cols="20"


Go to End


2 Posts   866 Views

Avatar
Mrfixer

Community Member, 49 Posts

10 May 2011 at 9:21pm

Good day everybody,

where in userforms can i change the default column (cols) size of 20, when i create the text area im given an option of number of rows which i have set at 10, but thers no option for cols, it just defaults out at cols="20", i would like to up this by about 18 to add more balance to the forms display as it looks a little odd left aligned,

regards
Martin

Avatar
Willr

Forum Moderator, 5523 Posts

12 May 2011 at 1:44pm

You should be able to control the width of the text area via the CSS file rather than in the CMS. Should be able to pick a selector for the textarea you want to change ie - #Form_Form textarea { width: 200px; }