Problem with username and password input box
Worldly
Worldly 2018-07-26 09:04:56
0
2
1509

Everything is written according to what the teacher said. But the input box for the user name has been changed to a new line

QQ图片20180726090113.png

Worldly
Worldly

reply all(2)
威尼斯

js and css are not referenced, _STATIC_ should be __STATIC__

  • reply Yes, the problem is solved, thank you very much!
    Worldly author 2018-07-26 09:31:39
Worldly

<!DOCTYPE html>

<html>

<head>

<title>登陆</title>

<link rel="stylesheet" type="text/css" href="_STATIC_/plugins/layui/css/layui.css">

<script type="text/javascript" src="_STATIC_/plugins/layui/layui.js"></script>

</head>

<body style="background: #1E9FFF">

    <div style="position: absolute; left:50%;top:50%;width:500px;margin-left:-250px;margin-top:-200px;">

        <div style="background:#ffffff;padding:20px;border-radius:4px;box-shadow: 5px 5px 20px #444444">

        <div clsaa="layui-form" style="color:gray;">

        <h2>后台管理系统</h2>

        </div>

        <hr>

        <div class="layui-form-item">

        <label class="layui-form-label">用户名</label>

        <div class="layui-input-block">

        <input type="text" class="layui-input">

        </div>

        </div>


        <div class="layui-form-item">

        <label class="layui-form-label">密    码</label>

        <div class="layui-input-block">

        <input type="password" class="layui-input">

        </div>

        </div>

        </div>

    </div>

</body>

</html>

这是代码

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template