CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Textarea

Print topic Send  topic

Author Message
mike
Posted: 10/17/2005, 2:38 PM

Is it possible to display a 'TextArea' without a Scroll Bar?
What about turning OFF the outline box ?

Also is there a way to display a TextArea depending on the content??

TextArea may not be the way to display Text

ie. I have a TextArea deffined as 600 x 200

If there is only 2 lines there is a BIG empty box with a couple of lines!

Walter Kempees
Posted: 10/17/2005, 3:56 PM

Source MSDN through Google "textarea no scroll"

overflow attribute
overflow: hidden; is what you are looking for
whole article
http://msdn.microsoft.com/library/default.asp?url=/work...es/overflow.asp

Inline style, or in your stylesheet create a class
  
<style type="text/css">  
textarea {  
  overflow: hidden;  
  border: none;  
}  
</style>  

OR
We simply set all css properties to the value of the background color of the
web page assuming #FF0000
scrollbar-face-color: #FF0000;
scrollbar-shadow-color: #FF0000;
scrollbar-highlight-color: #FF0000;
scrollbar-3dlight-color: #FF0000;
scrollbar-darkshadow-color: #FF0000;
scrollbar-track-color: #FF0000;
scrollbar-arrow-color: #FF0000;}Let us know how you go.Walter







"mike" <mike@_forums.co.uk> schreef in bericht
news:dj15kq$moi$1@news.codecharge.com...
> Is it possible to display a 'TextArea' without a Scroll Bar?
> What about turning OFF the outline box ?
>
> Also is there a way to display a TextArea depending on the content??
>
> TextArea may not be the way to display Text
>
> ie. I have a TextArea deffined as 600 x 200
>
> If there is only 2 lines there is a BIG empty box with a couple of lines!
>
>


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.