CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Stylesheet: form elements

Print topic Send  topic

Author Message
Paul
Posted: 04/16/2002, 8:42 AM

Is it possible to change the 'style' format for form elements such as textfields, and text areas?

Any ideas? thanks in advance
Nicole
Posted: 04/17/2002, 12:17 AM

Paul,
yes, you can use custom styles and they could be different for different fields. In this case you should create them manually, i.e. use Label type field with selected 'HTML' flag and assign it any value you want in Before Show event. E.g. how to set right text align in textbox field:
ASP
fldprix = "<input type=text name=""prix"" value="& fldprix &" size=8 style=""text-align: right"">"& "$"
PHP
$fldprix = "<input type=text name=\"prix\" value=". $fldprix ." size=8 style=\"text-align: right\">". "$";

   


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

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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