Skip to main content
Participant
May 9, 2013
Question

How do you change font for data input line Logon in <cfinput> statement?

  • May 9, 2013
  • 1 reply
  • 484 views

I need to change the font for a <cfinput> statement where the user types in their Logon ID.   I am able to change the font for everyting but not the actual field where the user types.   Any suggestions or ideas would be greatly appreciated. 

Thanks!

<!---   Use an HTML table for simple formatting          --->
<!---   Setup the table for Logon ID and Password        --->
<table border="4" width="200px">
<tr>
<th colspan="2" bgcolor="silver">
Please Log In now
</th>
</tr>
<tr>
<th>
User ID:
</th>
<th>
<!---   Text field for "User Name" data                  --->
<cfinput
type="text"
name="UserLogin"
size="60"
value=""
maxlength="60"
required="yes"
message="Please type in your User Name (usually your email address)">
</th>
</tr>
<tr>
<th>
Password:
</th>
<th align="left">
<!---   Text field for "Password"                         --->
<cfinput
type="password"
name="UserPassword"
size="20"
value=""
maxlength="20"
required="yes"
message="Please type in your Password">
<!---   Submit Button that reads "Enter"                  --->
    <input type="Submit" value="Enter">
</th>
</tr>
</table>
</cfform>
This topic has been closed for replies.

1 reply

WolfShade
Legend
May 10, 2013

According to the Adobe documentation, cfinput has an attribute called style that is used just like the style attribute of any HTML element.

^_^