Solved

Form textarea wont expand

Posted on 2013-12-03
4
314 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 43

Accepted Solution

by:
Chris Stanyon earned 500 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 43

Assisted Solution

by:Chris Stanyon
Chris Stanyon earned 500 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

809 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