Skip to main content
Inspiring
May 26, 2014
Answered

can not adjust cftextarea hieght

  • May 26, 2014
  • 1 reply
  • 294 views

I have following code for my cftextarea and try to make the height and width I need for the form for the users.

For some reason, it does not change the size even I modify row and col parameters.

Is it something I am missing to adjust the height and width of cftextarea?

Your help and information is great appreciated,

Regards,

Iccsi,

<td><CFtextarea name="MytxtArea"  id="MyTextArea"  row="6" col="10"/></td>

This topic has been closed for replies.
Correct answer Anit_Kumar

Hi Iccsi,

You can try using style with height and width attribute.

<cfform>

  <cftextarea name="broadcastContent"   enabled="Yes" toolbar="Basic" visible="Yes" style="height:200px; width:1500px;" skin="silver"  richtext="Yes">

  This is a textarea.

  </cftextarea>        

</cfform>

Note: Sometimes the results vary from browser to browser. I have seen best results inIE.

Regards,

Anit kumar

1 reply

Anit_Kumar
Anit_KumarCorrect answer
Inspiring
May 26, 2014

Hi Iccsi,

You can try using style with height and width attribute.

<cfform>

  <cftextarea name="broadcastContent"   enabled="Yes" toolbar="Basic" visible="Yes" style="height:200px; width:1500px;" skin="silver"  richtext="Yes">

  This is a textarea.

  </cftextarea>        

</cfform>

Note: Sometimes the results vary from browser to browser. I have seen best results inIE.

Regards,

Anit kumar

iccsiAuthor
Inspiring
May 26, 2014

Thanks a million for the information and help,

Regards,

Iccsi,