A way to change the style of all forms through CSS, you can define a format in CSS
input{color:red}
textarea{border:1px solid #333}
. Typically, if you don't need to change all the text styles, you can define styles such as text boxes and password boxes in the following ways
<ptml> <pead> <meta http-equiv= "Content-type" content= "text/html; charset=gb2312 > <title> New page 1</title> <style> <!--. username {width:130px; background: #F FFFFF URL ("/article/upimages/ico_username.gif") 2px 2px no-repeat; padding-left:18px; Border-right: #E7AD01 1px solid; Border-top: #E7AD01 1px solid; font-size:13px; Border-left: #E7AD01 1px solid; COLOR: #000000; Border-bottom: #E7AD01 1px solid; height:20px}--> </style> </pead> <body> <table cellspacing= "0" cellpadding= "0" Widt H= "100%" border= "0" id= "table1" > <tr> <form name= "MyForm" method= "POST" action= "" > <TD class= "LOGIN_TD" > Username: <input class= "username" onmouseover= "this.style.bordercolor= ' #99E300 '" onmouseout= "this.style.bordercolor= ' #A1BCA3" "maxlength=" Name= "UserName" ></td> </form> </tr> </table> </body> </ptml>
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]