I'm doing something similar with textarea, but I'm writing them dynamical
ly
with JavaScript populated by a CF variable:
document.write('<textarea name=\"this\" cols="20" rows="5"
style=\"width:100%\">#cfvar#</textarea>');
Joshua Miller
Web Development::Programming
Eagle Technologies Group, Inc.
www.eagletgi.com
[EMAIL PROTECTED]
(304) 622-4499 x320 (VMail)
CONFIDENTIALITY NOTICE
The information contained in this e-mail is intended only for the use of
the
individual or entity to which it is addressed.
This e-mail may contain information that is privileged, confidential, and
/or
personal. If the reader of this message is not the intended recipient (or
the employee or agent responsible to deliver it to the intended recipient
),
you are hereby notified that any dissemination, distribution, or copying
of
this communication is prohibited.
If you have received this communication in error, please notify us by
telephone call at the number listed above.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2002 10:13 AM
To: CF-Talk
Subject: Re: OT: I need some smart pills for my HTML text boxes...
i tried it on 6 and saw what you're referring to. looks like a defa
ult
behavior. i'd suggest you create the form field and populate it as f
ollows
<cfoutput>
<head>
<script>
function init(){
document.myForm.myTextField.value="#myOutPut#";
}
</script>
</head>
<body onload="init()">
<form name="myForm">
<input type="text" style="width:100%" name="myTextField"
</form>
</body>
</cfoutput>
or something similar
"Tyler Silcox" <[EMAIL PROTECTED]> on 01/29/2002 09:01:05 AM
Please respond to [EMAIL PROTECTED]
To: CF-Talk <[EMAIL PROTECTED]>
cc:
Subject: Re: OT: I need some smart pills for my HTML text boxes...
I'm using iE 6.0 ...and the input's width is 100%, so is the ta
ble that
surrounds it, and the table that surrounds that table. It's really a
pain
in the arse, because an image or a blank input set to 100% doesn't caus
e a
problem, just if the text inside is too long...
Tyler
email | [EMAIL PROTECTED]
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, January 29, 2002 9:48 AM
Subject: Re: OT: I need some smart pills for my HTML text boxes...
i'm trying to reproduce the prob in IE 5.5 but can't...what ver
sion are u
using?
"Tyler Silcox" <[EMAIL PROTECTED]> on 01/29/2002 08:37:30 AM
Please respond to [EMAIL PROTECTED]
To: CF-Talk <[EMAIL PROTECTED]>
cc:
Subject: OT: I need some smart pills for my HTML text boxes...
I'm got a problem with my <input type="text" name="MyTextBox"
style="width: 100%"> form fields...
The form displays correctly if the input box is empty, but if I return
to the form for an edit, and the value="#MyOutput#" is longer than th
e
textbox should be for display, it pushes out the text box past the
screen width and everything above it. I'd like it to behave, and jus
t
go to 100% of the screen (and not past it.) Does anyone know of any
nifty tricks to get the text within the input to display as "normal",
like it does when I set the width to a certain pixel width, and just
hide behind the end of the text box? This app is iExplorer only, so an
y
of MS crazy attributes/properties would work for me, I just can't find
any that WILL work for me on text boxes, I've checked MSDN up and
down...thanks->
Tyler
email | [EMAIL PROTECTED]
______________________________________________________________________
Dedicated Windows 2000 Server
PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
Instant Activation � $99/Month � Free Setup
http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists