Solved

Form textarea wont expand

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Remove greater than sign 3 46
Show banners that are blocked by Ad Muncher 10 48
Error in JQuery 5 39
Removing HTML elements using javascript 4 20
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
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 an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

895 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now