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:

All other Modules /

Discuss all other Modules here.

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

Userfoms cols="20"


Go to End


2 Posts   788 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; }