How to style/design a text box in ColdFusion

cfinput - style input type text


<!DOCTYPE html>

<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>cfinput type text: how to style input type text in coldfusion</title>

<h2 style="color:SaddleBrown; font-style:italic">cfinput type text example: how to style</h2>
<hr width="425" align="left" color="CadetBlue" />
<br />

<cfif IsDefined("Form.SubmitCity")>
  <h3 style="color:OrangeRed;">
      Your city is: : #Form.City#

<cfform name="InputTypeTextStyleTest" method="post" format="html">
 <table border="1" cellpadding="5" cellspacing="0" bordercolor="Orange">
         <td colspan="2" bgcolor="DeepPink" style="color:Snow; font-size:large" align="center">
             City Submit Form
         <td style="color:RosyBrown; font-weight:bold">
             City Name
                    style="background-color:Wheat; color:RosyBrown; width:250px; height:25px; font-size:large; font-style:italic; font:'Comic Sans MS', cursive">
         <td colspan="2" align="right">
       <cfinput name="SubmitCity" type="submit" value="Submit">

More ColdFusion examples