Skip to main content
Inspiring
August 17, 2008
Question

cftextarea question

  • August 17, 2008
  • 1 reply
  • 348 views
I have the following code on my page:

<div align="center">
<cftextarea name="SBQuestion" width="600" height="400" wrap="physical"></cftextarea>
</div>

I can't get the width of the text area to change...... I've tried setting
it to 600, and 600px, no change......

I know its a simple thing, but its not working the way I need it to.....
oh, and the toolbar option isn't showing up for my cftextarea in DW CS3.....
I know there is a way to specify what version of CF you're developing for
(or there was in older version of DW) but I'm not finding it now........

Ok, I think that's everything for today! :)

Thanks!


    This topic has been closed for replies.

    1 reply

    Inspiring
    August 17, 2008
    Try this:

    <style type="text/css">
    <!--
    .MyTextArea {
    width: 600px;
    height: 400px;
    }
    -->
    </style>

    <div align="center">
    <cftextarea name="SBQuestion" id="SBQuestion" wrap="physical"
    class="MyTextArea"></cftextarea>
    </div>

    --
    Ken Ford
    Adobe Community Expert Dreamweaver/ColdFusion
    Fordwebs, LLC
    http://www.fordwebs.com


    "steve grosz" <boise_bound@hotmail.com> wrote in message
    news:422c389249f58cace7ea4f2a25b@forums.adobe.com...
    >I have the following code on my page:
    >
    > <div align="center">
    > <cftextarea name="SBQuestion" width="600" height="400"
    > wrap="physical"></cftextarea>
    > </div>
    >
    > I can't get the width of the text area to change...... I've tried setting
    > it to 600, and 600px, no change......
    >
    > I know its a simple thing, but its not working the way I need it to.....
    > oh, and the toolbar option isn't showing up for my cftextarea in DW
    > CS3..... I know there is a way to specify what version of CF you're
    > developing for (or there was in older version of DW) but I'm not finding
    > it now........
    >
    > Ok, I think that's everything for today! :)
    >
    > Thanks!
    >
    >

    Inspiring
    August 18, 2008
    Hello Ken,

    What are the width and height options for in the <cftextarea> tag? Do those
    not work?

    > Try this:
    >
    > <style type="text/css">
    > <!--
    > .MyTextArea {
    > width: 600px;
    > height: 400px;
    > }
    > -->
    > </style>
    > <div align="center">
    > <cftextarea name="SBQuestion" id="SBQuestion" wrap="physical"
    > class="MyTextArea"></cftextarea>
    > </div>
    > "steve grosz" <boise_bound@hotmail.com> wrote in message
    > news:422c389249f58cace7ea4f2a25b@forums.adobe.com...
    >
    >> I have the following code on my page:
    >>
    >> <div align="center">
    >> <cftextarea name="SBQuestion" width="600" height="400"
    >> wrap="physical"></cftextarea>
    >> </div>
    >> I can't get the width of the text area to change...... I've tried
    >> setting it to 600, and 600px, no change......
    >>
    >> I know its a simple thing, but its not working the way I need it
    >> to..... oh, and the toolbar option isn't showing up for my cftextarea
    >> in DW CS3..... I know there is a way to specify what version of CF
    >> you're developing for (or there was in older version of DW) but I'm
    >> not finding it now........
    >>
    >> Ok, I think that's everything for today! :)
    >>
    >> Thanks!
    >>