Input text box Style Code Instance _ Basic Tutorial
Source: Internet
Author: User
CSS to change the style of all forms of the method, you can define in the CSS
Input{color:red}
textarea{border:1px Solid #333}
Such a format, generally if you do not need to change all the text style, you can use the following methods to define the text box and password box style
<textarea id="runcode87279"><ptml> <pead> <meta http-equiv= "Content-type" content= "text/html; charset=gb2312" > <title > New page 1</title> <style> <!--. username {width:130px; background: #FFFFFF 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" width= "100% "border=" 0 "id=" table1 "> <tr> </tr> </table> </body> </ptml> </textarea>
[Ctrl + A full selection Note: If you need to introduce external JS need to refresh to execute]
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service