zoukankan      html  css  js  c++  java
  • 调查表样式设计

      调查表样式设计:

    <!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>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>调查表的设计</title>
    <style type="text/css">
        #myform{
                width:500px;
                padding:20px;
                background:#f0f0f0;
                overflow:auto;
                border:1px solid #cccccc;
                border-radius:7px;
                border-shadow:2px 2px 2px #ccc;
                }
        div{ margin-bottom:5px;}
        label{
                font-family:Arial, Helvetica, sans-serif;
                text-shadow:2px 2px 2px #ccc;
                display:block;
                float:left;
                font-weight:bold;
                margin-right:10px;
                text-align:right;
                width:160px;
                line-height:25px;
                font-size:15px;
                }
        .input{
                font-family:Arial, Helvetica, sans-serif;
                font-size:15px;
                padding:5px;
                border:1px solid #b9bdc1;
                width:260px;
                color:#797979;
                }
        .button{
                float:right;
                margin:10px 55px 10px 0px;
                font-weight:bold;
                line-height:1em;
                padding:6px 10px;
                cursor:pointer;
                color:#fff;
                text-align:center;
                text-shadow:0 -1px 1px #64779e;
                background:#a5b6ca;
                border:1px solid #5c6f91;
                -moz-border-radius:10px;
                border-radius:10px;
                box-shadow:inset 0 1px 0 0 #aec3e5;
                }
    </style>
    </head>
    
    <body>
    <form id="myform" class="rounded" method="post" action="">
        <h3>娱乐大调查</h3>
        <div class="field">
            <label for="name">您的年龄是:</label>
            <input type="text" class="input" name="name" id="name" />
        </div>
        <div class="field">
            <label for="email">喜欢的娱乐明星:</label>
            <input type="text" class="input" name="email" id="email" />
        </div>
        <div class="field">
            <label for="message">喜欢的理由:</label>
            <textarea class="input textarea" id="message" name="message"></textarea>
        </div>
        <input type="submit" name="Submit" class="button" value="提交" />
    </form>
    </body>
    </html>

    样式显示:

  • 相关阅读:
    GDUFE ACM-1050
    hdu-2020
    hdu-2055
    hdu-2734
    GDUFE ACM-1145
    GDUFE ACM-1127
    GDUFE ACM-1126
    GDUFE ACM-1125
    GDUFE ACM-1124
    GDUFE ACM-1123
  • 原文地址:https://www.cnblogs.com/blogofwyl/p/4540288.html
Copyright © 2011-2022 走看看