Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Form textarea wont expand

Posted on 2013-12-03
4
Medium Priority
?
320 Views
Last Modified: 2013-12-03
<TEXTAREA ID="FormsMultiLine1" NAME="ContactText"
ROWS="6" COLS="80" >
</TEXTAREA>

Open in new window


Here is the form url below with the text area.  I try everything but the textarea is still on a diet - very skinny. Please help

http://www.housecarers.com/test4/feedback_non_members.cfm
0
Comment
Question by:Ian White
  • 2
  • 2
4 Comments
 
LVL 44

Accepted Solution

by:
Chris Stanyon earned 2000 total points
ID: 39692211
The cols value is being overwritten by a CSS rule that sets the width to 164px (line 555 of main.css):

div#wrap form input[type="text"], div#wrap form input[type="password"], div#wrap form input[type="email"], div#wrap form textarea {
    border: 1px solid #D6D6D6;
    border-radius: 2px;
    color: #9B9B9B;
    font-size: 14px;
    font-weight: normal;
    outline: medium none;
    width: 164px;
}
0
 

Author Comment

by:Ian White
ID: 39693738
Thanks - how do I leave that css rule but create another one that overrides that one - not an expert on css specificity and classes and all that stuff, What would be the new css rule I add that leaves the status quo but applies to this form?
0
 
LVL 44

Assisted Solution

by:Chris Stanyon
Chris Stanyon earned 2000 total points
ID: 39694059
Your form has an ID of ContactFORM, so if you include that in a new CSS rule, it will override the previous one:

div#wrap form#ContactFORM textarea { width: 500px; }

Open in new window

0
 

Author Closing Comment

by:Ian White
ID: 39694120
Thanks for your quick help . Works fine now
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question