Althought its not documented, you can pass a style attribute and a class
attribute into the CFINPUT tag

<CFINPUT style="border:1px solid blue;" TYPE="Text" NAME="ToDay"
VALUE="#NOW()#" RANGE="1,31" SIZE="2" MESSAGE="Please enter a day of the
month (1-31)" VALIDATE="integer" REQUIRED="Yes">

So if your going to set the size using a style, then either set up a
stylesheet and pass the class into the tag, or pass the style directly into
the tag using the style attribute.

Steve

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Andrew
Dickinson
Sent: Thursday, June 19, 2003 12:50 PM
To: CFAussie Mailing List
Subject: [cfaussie] Re: Size doesn't matter


Generates an error, stating that valid attributes are
TEXT, PASSWORD, CHECKBOX, RADIO

> The passThrough attribute of the CF input tags allow you to pass
additional=
>  HTML paramaters to the real input tag <INPUT>
>
> by passing a style attribute with a size value you may get control over =
> the size of the input.
>
> >>> [EMAIL PROTECTED] 19/06/2003 12:35:40 >>>
> Don't understand. Pls clarify/expand.
>
> > could you try this:
> >=20
> > <cfinput passThrough=3D"style=3D'width:35px'" ...>
> >=20
>
> ---
> You are currently subscribed to cfaussie as:
[EMAIL PROTECTED]
> om.au=20
> To unsubscribe send a blank email to
[EMAIL PROTECTED]
> au=20
>
> MX Downunder AsiaPac DevCon - http://mxdu.com/
>
> -------------------------------------------------------
> Maddocks
>
> Tel: (03) 92880555   International: +61 3 92880555
> Fax: (03) 92880666   International: +61 3 92880666
>
> Web: http://www.maddocks.com.au
>
> -------------------------------------------------------
> The information in this electronic mail is privileged
> and confidential, intended only for use of the individual
> or entity named.  If you are not the intended recipient,
> any dissemination, copying or use of the information is
> strictly prohibited.  If you have received this transmission
> in error please delete it immediately from your system
> and inform us by email on [EMAIL PROTECTED]
> -------------------------------------------------------

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to