Welcome! To use this support forum, please Login or Join Today!

   

Textarea problem

{name}
RankRank

Total Posts: 49

Joined 2012-01-06

PM

 

I have been having problems with a contact form I am making. It seems that in formalize.css textarea width is set to 100%

So no matter what I do I can’t set the textarea to be 80 columns.

I am using a plugin that does not have a css tag on the textarea of it’s own so that is why I am having the problem.

From your perspective is that width setting in formalize.css necessary? It seems overkill.

Thanks,

M Aronoff

{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 

Not really. The 100% is relative to the width of the parent element. If the textarea is in a one_third div it would be 100% of the width of that element. If you’re saying you have no control over the markup, your best bet would be to add a custom rule to that textarea; for example based on the page’s body class:

body.page-slug textarea {
 width: 300px;
}