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\">". "$";
|
|
|
 |
|