how to set textarea width and height in feedbackform module

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
erik

how to set textarea width and height in feedbackform module

Post by erik »

First of all, compliments for this magnificent script!
here's the issue:
My site made within 800px width. Because of the size of the textarea (cols 80 x rows 15 ) the side-borders ar pushed out.
So i've searched the script to see where and how it's set, but couldn't find it. Just a bit to difficult for my amateur brains.
Can anybody tell me where i can set these properties?

Thanks in advance!
User avatar
sjg
Power Poster
Power Poster
Posts: 310
Joined: Thu Jan 27, 2005 5:11 pm

Re: how to set textarea width and height in feedbackform module

Post by sjg »

Hi!

You can find a discussion of the same problem in this thread: http://forum.cmsmadesimple.org/index.ph ... 32.45.html

Basically, the way to control the size of the text areas (or any other inputs) is through the Stylesheet.

For example, you can try putting something like this in your stylesheet:

Code: Select all

.feedbacktable textarea { width: 400px; height: 60px;}
Obviously, you'll want to replace those pixel sizes with something appropriate to your site. You can also change the size of the other inputs with your stylesheet specifying ".feedbacktable input {...}" but keep in mind that that will change the size of checkboxes just like it will text inputs.

The next major release of FeedbackForm will allow you to tag individual fields with CSS classes, so you'll have fine-grained control.

Good luck!
Many modules available from the http://dev.cmsmadesimple.org
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
erik

Re: how to set textarea width and height in feedbackform module

Post by erik »

Thanks a lot! It worked.
User avatar
voghen
New Member
New Member
Posts: 3
Joined: Wed Jan 07, 2009 12:07 pm

Re: how to set textarea width and height in feedbackform module

Post by voghen »

Hello!

Im working at this problem at the moment, too.
My question: Where the **** is the css-class "feedbacktable"?
I just can't find it anywhere!!!!

Thanks
robinmarek
Forum Members
Forum Members
Posts: 208
Joined: Thu Nov 13, 2008 4:02 pm

Re: how to set textarea width and height in feedbackform module

Post by robinmarek »

I may be wrong, but I think you need to create your own class called feedbacktable and style it yourself
User avatar
voghen
New Member
New Member
Posts: 3
Joined: Wed Jan 07, 2009 12:07 pm

Re: how to set textarea width and height in feedbackform module

Post by voghen »

Hi.

I figured out the same but weren't able to do so...
I changed to Formbulider right after my first posting...

Thank you for answerering!
Locked

Return to “Modules/Add-Ons”