Solved

Form textarea wont expand

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

Accepted Solution

by:
Chris Stanyon earned 500 total points
Comment Utility
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
Comment Utility
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 42

Assisted Solution

by:Chris Stanyon
Chris Stanyon earned 500 total points
Comment Utility
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
Comment Utility
Thanks for your quick help . Works fine now
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
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 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 …
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

771 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

9 Experts available now in Live!

Get 1:1 Help Now