zoukankan      html  css  js  c++  java
  • css设计并排布局

    css code

    form#reset_password ul {
        list-style: none;
        margin: 0 0 20px 200px;
        padding: 0;
    }
    
    form#reset_password ul li:first-child {
        display: inline;
        line-height: 34px;
        padding-left: 10px;
    }
    
    form#reset_password ul li:nth-child(2) {
        float: left;
        line-height: 34px;
    }
    
    form#reset_password ul li:last-child {
        float: left;
    }

    html code

    <form id="reset_password">
        <input type="hidden" name="rt" value="<?= $msg['reset_time'] ?>">
        <input type="hidden" name="uname" id="uname" value="<?=$msg['username'];?>">
        <ul>
            <li></li>
            <li>&emsp;用户名</li>
            <li><input class="form-control" type="text" value="<?=$msg['username'];?>"
                placeholder="" autocomplete="off" disabled /></li>
        </ul>
    
        <ul>
            <li></li>
            <li>&emsp;新密码</li>
            <li><input class="form-control" type="password" name="newpwd" id="newpwd" value=""
                autocomplete="off" placeholder="请输入您的新密码" /></li>
        </ul>
    
        <ul>
            <li></li>
            <li>确认密码</li>
            <li><input class="form-control" type="password" name="repeat_pwd" id="repeat_pwd" value=""
                autocomplete="off" placeholder="请再次输入您的新密码以进行确认" /></li>
        </ul>
        <p><button id="save_new_pwd" class="btn btn-success">确认修改</button></p>
    </form>

    效果如下

  • 相关阅读:
    Android框架之路——OkGo的使用
    recyclerview23+出现多个item只显示第一个item的问题
    Spark MLlib回归算法LinearRegression
    Spark MLlib聚类KMeans
    Impala性能优化
    Impala通过JDBC方式访问
    Impala与HBase整合
    Impala数据处理(加载和存储)
    Impala SQL
    Impala储存与分区
  • 原文地址:https://www.cnblogs.com/gentsir/p/9565635.html
Copyright © 2011-2022 走看看