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

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
scotch33
Dev Team Member
Dev Team Member
Posts: 284
Joined: Tue Feb 14, 2006 9:56 pm

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

Post 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!
cyberman

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

Post 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).
scotch33
Dev Team Member
Dev Team Member
Posts: 284
Joined: Tue Feb 14, 2006 9:56 pm

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

Post by scotch33 »

aha!  brilliant.  ta.
henri152

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

Post 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 :).
cyberman

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

Post by cyberman »

This style doesn't exist. You have to add a new style like

Code: Select all

textarea.user {}
for that.
henri152

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

Post 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;
}
henri152

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

Post by henri152 »

By the way, in addition to my previous post: Shouldn't I use cols in stead of width? :)
henri152

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

Post by henri152 »

Nevermind, I've got it already! :)
Post Reply

Return to “Modules/Add-Ons”