Page 1 of 1

text area in 'feedback form' how can i change the standard width

Posted: Thu Mar 08, 2007 5:16 pm
by scotch33
Hi, The standard column width in text areas as generated by 'feedback form' appears to be 80.  I can't change it in the module interface, so can anyone point me at the setting within the module php pages so I can hand reset it there.

Thanks!

Re: text area in 'feedback form' how can i change the standard width

Posted: Thu Mar 08, 2007 5:20 pm
by cyberman
Take at look at page source and you will see a class for textarea. Than you can style via css (e.g. width: 40em).

Re: text area in 'feedback form' how can i change the standard width

Posted: Thu Mar 08, 2007 5:52 pm
by scotch33
aha!  brilliant.  ta.

Re: text area in 'feedback form' how can i change the standard width

Posted: Fri Mar 16, 2007 9:56 pm
by henri152
scotch33 wrote: aha!  brilliant.  ta.
In which stylesheet can I find that particular style? I've searched my eyes out of my head, but I really cannot find it :(. In my sourcecode is the following code present:

Code: Select all

<textarea name="m4ffbericht" cols="80" rows="15" class="user"></textarea>
Thanks in advance :).

Re: text area in 'feedback form' how can i change the standard width

Posted: Fri Mar 16, 2007 10:10 pm
by cyberman
This style doesn't exist. You have to add a new style like

Code: Select all

textarea.user {}
for that.

Re: text area in 'feedback form' how can i change the standard width

Posted: Sat Mar 17, 2007 2:56 pm
by henri152
cyberman wrote: This style doesn't exist. You have to add a new style like

Code: Select all

textarea.user {}
for that.
Thanks, so far I understand... However, in which stylesheet should I add that row?  :-[ I'm sorry, I'm not yet really familiar with CMSMS, although it's gradually growing :).

Code: Select all

textarea.user {
  width: 20em;
}

Re: text area in 'feedback form' how can i change the standard width

Posted: Sat Mar 17, 2007 2:59 pm
by henri152
By the way, in addition to my previous post: Shouldn't I use cols in stead of width? :)

Re: text area in 'feedback form' how can i change the standard width

Posted: Sat Mar 17, 2007 3:06 pm
by henri152
Nevermind, I've got it already! :)