I set up a CLIENT.FormMultiplier variable depending on browser type, and
then have all my inputs like this -
<input type="text" name="foo" size="#Evaluate( 30 * CLIENT.FormMultiplier
)#">
Yes, it's a pain, but once you get into the habit, you don't notice it......
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 02 April 2001 14:55
To: CF-Talk
Subject: Cross browser Intrinsic Controls
OK ... what a pain in the butt!
How does one deal with the different physical size rendered for textboxes by
Netscape and IE? The physical size for a textbox with a "size" attribute of
20 in Netscape is huge compared to IE. What gives?
I'm working around this by using a "size" attribute that is Netscape
physically sized and also including a "style" parameter overriding the
"size" in IE with precise sizing info. Appears to work for IE 5 and Netscape
4.6 ... but will it work in all browsers?
<input type="text" size="10" style="width:120px heigth:22px" name="foo">
Is there some other easier way of dealing with this?
Thanks for any info,
Allison McMearty
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists