Ray,

I had a close problem...
In your style for the textarea use "font-size: 0pt;" The vertical size seems
to be controlled by font size as well as height... I needed to make a 10pt
vertical high div. Until I changed the font size, it wouldn't go that
small.. See if it works.. I am unsure on the 0px or 0pt though...

Jeff
 

> -----Original Message-----
> From: Raymond Camden [mailto:[EMAIL PROTECTED] 
> Sent: Friday, May 20, 2005 3:38 PM
> To: CF-Community
> Subject: css question: textareas and vertical space
> 
> 
> I have a textarea that I'm trying to make as tiny as 
> possible. It will only be used by JS. I can hide it. I can 
> make it darn small. But no matter what I do, it still adds 
> vertical space. Here is the HTML now:
> 
>       <p style="font-size: 8px; font-family: verdana">
>       <a href="javaScript:launchEditor()">[Edit this Content: 
> #attributes.name#]</a>
>       <form action="#cgi.script_name#?#cgi.query_string#" 
> method="post" name="sce" style="display: inline;">
>       <textarea name="payload" style="visibility: hidden; height:
> 0px;width: 0px; display: inline;">#formContent#</textarea>
>       <input type="hidden" name="sce_name" 
> value="#attributes.name#"></form>
>       </p>
> 
> When I comment out the textarea, everything works fine. But 
> with the textarea, there is additional vertical spacing. Any ideas?
> -- 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:5:158300
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to