亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

新用戶注冊頁面的布局模板實現(xiàn)

??? 2019-04-12 15:07:42 310
????:<!DOCTYPE><html><head>    <title>Load page</title>    <meta http-equiv="Content-type" content="text/html" charset="utf8&qu

<!DOCTYPE>

<html>

<head>

    <title>Load page</title>

    <meta http-equiv="Content-type" content="text/html" charset="utf8">

    <style type="text/css">

        body{

            font-family:Arial, Helvetica, sans-serif;

            font-size:12px;

            color:#666666;

            background:#fff;

            text-align:center;

        }

        *{

            margin:0;

            padding:0;

        }

        a{

            color:#1e7ace;

            text-decoration:none;

        }

        a:hover{

            color:#000;

            text-decoration:underline;

        }

        h3{

            font-size:14px;

            font-weight:bold;

        }

        pre, p{

            color: #1e7ace;

            margin:4px;

        }

        input, select, textarea{

            padding:1px;

            margin:2px;

            font-size:11px;

        }

        #myform{

            width:450px;

            margin:15px auto;

            padding:20px;

            text-align:left;

            border:1px solid #a4cdf2;

        }

        fieldset{

            padding:10px;

            margin-top:5px;

            border:1px solid #a4cdf2;

            background:#fff;

        }

        fieldset legend{

            color:#1e7ace;

            font-weight:bold;

            padding:3px 20px 3px 20px;

            border:1px solid #a4cdf2;

            background:#fff;

        }

        fieldset label{

            float:left;

            width:120px;

            text-align:right;

            padding:4px;

            margin:1px;

        }

        fieldset div{

            clear:left;

            margin-bottom:2px;

        }

        .buttom{

            padding:1px 10px;

            font-size:12px;

            border:1px #1e7ace solid;

            background:#d0f0ff;

        }

        .input{

            width:120px;

        }

        .enter{

            text-align:center;

        }

        .clear{

            clear:both;

        }

    </style>

</head>

<body>

<div id="myform">

    <center><h3>創(chuàng)建新用戶</h3></center>

    <form method="post" name="myForm" id="">

        <fieldset>

            <legend>用戶注冊</legend>

            <div>

                <label for="Name">用戶名</label>

                <input type="text" name="Name" class="input" id="Name" size="20" maxlength="30"/>

                *(可輸入字母數(shù)組下劃線)<br>

            </div>

            <div>

                <label for="Email">email</label>

                <input type="text" name="Email" class="input" id="Email" size="20" maxlength="150" />

                *<br>

            </div>

            <div>

                <label for="password">輸入密碼</label>

                <input type="password" name="password" class="input" id="password" size="18" maxlength="15"/>

                *(長度不能超過15個字符)<br>

            </div>

            <div>

                <label for="confirm_password">重復(fù)密碼</label>

                <input type="password" name="confirm_password" class="input" id="confirm_password" size="18" maxlength="15"/>

                *<br>

            </div>

            <div>

                <label for="AgreeToTerms">同意用戶服務(wù)條款</label>

                <input style="height:22px;" type="checkbox" name="AgreeToTerms" id="AgreeToTerms" value="1"/>

                <a style="vertical-align:super;" href="#" title="您是否同意服務(wù)條款">點此查看用戶條款</a>

                <i style="position:relative;top:-2px;"> *</i>

            </div>

            <div class="enter">

                <input name="create791" type="submit" class="buttom" value="提交"/>

                <input name="Submit" type="reset" class="buttom" value="重置"/>

            </div>

        </fieldset>

    </form>

    <br>

</div>

</body>

</html>


?? ???:天蓬老師?? ??:2019-04-12 15:41:42
???? ??:css樣式表, 有一個基本的原則 , 針對樣式, 也不針對元素, 所有在css中, 盡可能的不要出現(xiàn)具體的標(biāo)簽名, 而是采用class來進行設(shè)置

??? ??

?? ??