Css definition form code

Source: Internet
Author: User
Tip: you can modify some code before running

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>Standard web forms</title><meta http-equiv="content-type" content="text/html;charset=gb2312"><!--把下面代码加到<head>与</head>之间--><style type="text/css">/* Initial element value */html {background: # FFF;} body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, p, blockquote, th, td, ins, hr {margin: 0px; padding: 0px;} p {cursor: text;} h1, h2, h3, h4, h5, h6 {font-size: 100%;} ol, ul {list-style-type: none;} address, caption, cite, code, dfn, em, th, var {font-style: normal; font-weight: normal;} table {border-collapse: collapse;} fieldset, img {border: 0 ;} img {display: block;} caption, th {text- Align: left;} body {position: relative; font-size: 62.5%; font-family: ""} a {text-decoration: none ;} /* element value used by the demo */# need {margin: 20px auto 0; width: 610px;} # need li {height: 26px; width: 600px; font: 12px/26px Arial, Helvetica, sans-serif; background: # FFD; border-bottom: 1px dashed # E0E0E0; display: block; cursor: text; padding: 7px 0px 7px 10px! Important; padding: 5px 0px 5px 10px;} # need li: hover, # need li. hover {background: # FFE8E8 ;}# need input {line-height: 14px; background: # FFF; height: 14px; width: 200px; border: 1px solid # E0E0E0; vertical-align: middle; padding: 6px;} # need label {padding-left: 30px;} # need label. old_password {background-position: 0-277px;} # need label. new_password {background-position: 0-1576px;} # need label. rePassword {background-position: 0-1638px;} # need label. email {background-position: 0-429px;} # need dfn {display: none;} # need li: hover dfn, # need li. hover dfn {display: inline; margin-left: 7px; color: #676767 ;}</style><script type="text/javascript">Function suckerfish (type, tag, parentId) {if (window. attachEvent) {window. attachEvent ("onload", function () {var sfEls = (parentId = null )? Document. getElementsByTagName (tag): document. getElementById (parentId ). getElementsByTagName (tag); type (sfEls) ;}}}hover = function (sfEls) {for (var I = 0; I<sfEls.length; i++) {sfEls[i].onmouseover=function() {this.className+=" hover";}sfEls[i].onmouseout=function() {this.className=this.className.replace(new RegExp(" hoverb"), "");}}}suckerfish(hover, "li");</script></head><body><!--把下面代码加到<body>与</body>之间--><ol id="need"> <li><label class="old_password">Original password:</label><input type="password" name="old_password"></li> <li><label class="new_password">New password:</label><input type="password" name="new_password"><dfn>(The password is 6-20 bytes long. Leave it blank if it is not modified)</dfn></li> <li><label class="rePassword">Duplicate password:</label><input type="password" name="rePassword"></li> <li><label class="email">Mailbox settings:</label><input type="text" name="email"><dfn>(We will not send you any spam)</dfn></li></ol></body></html>
Tip: you can modify some code before running
Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.