Re: CGFeedback how tomake "Additional Comments" textbox smal
Posted: Tue Jan 21, 2014 2:40 pm
If the HTML is like this:
Without seeing your site's CSS, you could start by adding a rule that will make the textarea smaller using a %:
example: .col70 .cms_textarea {width: 80%}
CSS will override the textarea's cols attribute.
But, you could probably try something like this in your template:
{$input_comment|replace:'cols="80"':'cols="50"'}
use whatever cols value you need....
Code: Select all
<div class="col70" style="float: left; width: 70%;">
<textarea class="cms_textarea" rows="15" cols="80" name="m9233acomment"></textarea>
</div>
example: .col70 .cms_textarea {width: 80%}
CSS will override the textarea's cols attribute.
But, you could probably try something like this in your template:
{$input_comment|replace:'cols="80"':'cols="50"'}
use whatever cols value you need....