login 登录页面(别小看这个页面在公司很有讲究的!昨天晚上熬夜写的)
2014-06-05 21:25
375 查看
在公司登录页面也有讲究不是随便写完完事 (要求按着CTRL+鼠标滚轮缩放不走形和变形!!!)
<html>
<head>
<title>测试</title>
<meta charset='gb2312' />
<style>
*{margin-top:0;}
html{ position:relative;top:0;bottom:0;}
form div{
margin-left:30px;
margin-top:20px;
}
form #button input{
margin-left:30px;
width:20%;
}
form #input_type input{
width:60%;
}
#div{
min-width:300px;
min-height:500px;
}
</style>
</head>
<body style='background:#359ECB'>
<span id='fm'></span>
<div style='width:1000px;background:url("./yunnanshuidian2.png") no-repeat 100% 100%;background-size:100% 100%;margin-right:auto;margin-left:auto' id='div'>
<div style='Position:absolute;margin-left:600px;margin-top:120px'><!--style='margin-left:-350px;margin-top:-50px;float:left'-->
<form action="loginVip.action?project=ynsd" method="post" style='width:300px;background:red;float:left'>
<legend>用户注册</legend>
<div id='input_type'>用户名称:<input type='text' name='username' ></div>
<div id='input_type'>用户密码:<input type='password' name='password' ></div>
<div id='button'>
<input style="cursor:pointer;" name="button" type="submit" class="LoginSubmitButton" id="button" value="登录"/></td>
<td width="50%" ><input style="cursor:pointer;" name="button" type="reset" class="LoginSubmitButton" id="button" value="重置" />
</div>
</form>
</div>
</div>
<script>
var h=document.documentElement.clientHeight;//可见区域高度
document.getElementById('div').style.height=h+"px";
window.onresize=func;
function func(){
document.getElementById('div').style.height=0;
var h=document.documentElement.clientHeight;//可见区域高度
document.getElementById('div').style.height=h+"px";
}
</script>
</body>
</html>
版权所有CSDN乐知学院-李鹏飞*(如有转载请说明出处!~!!!!!)
公司上班第二天(感觉就是不如上学好!枯燥乏味!!!!有的东西不会做也没人教!书到用时方恨少啊!可见在学校遗漏了好多知识点啊啊!!!!)
<html>
<head>
<title>测试</title>
<meta charset='gb2312' />
<style>
*{margin-top:0;}
html{ position:relative;top:0;bottom:0;}
form div{
margin-left:30px;
margin-top:20px;
}
form #button input{
margin-left:30px;
width:20%;
}
form #input_type input{
width:60%;
}
#div{
min-width:300px;
min-height:500px;
}
</style>
</head>
<body style='background:#359ECB'>
<span id='fm'></span>
<div style='width:1000px;background:url("./yunnanshuidian2.png") no-repeat 100% 100%;background-size:100% 100%;margin-right:auto;margin-left:auto' id='div'>
<div style='Position:absolute;margin-left:600px;margin-top:120px'><!--style='margin-left:-350px;margin-top:-50px;float:left'-->
<form action="loginVip.action?project=ynsd" method="post" style='width:300px;background:red;float:left'>
<legend>用户注册</legend>
<div id='input_type'>用户名称:<input type='text' name='username' ></div>
<div id='input_type'>用户密码:<input type='password' name='password' ></div>
<div id='button'>
<input style="cursor:pointer;" name="button" type="submit" class="LoginSubmitButton" id="button" value="登录"/></td>
<td width="50%" ><input style="cursor:pointer;" name="button" type="reset" class="LoginSubmitButton" id="button" value="重置" />
</div>
</form>
</div>
</div>
<script>
var h=document.documentElement.clientHeight;//可见区域高度
document.getElementById('div').style.height=h+"px";
window.onresize=func;
function func(){
document.getElementById('div').style.height=0;
var h=document.documentElement.clientHeight;//可见区域高度
document.getElementById('div').style.height=h+"px";
}
</script>
</body>
</html>
版权所有CSDN乐知学院-李鹏飞*(如有转载请说明出处!~!!!!!)
公司上班第二天(感觉就是不如上学好!枯燥乏味!!!!有的东西不会做也没人教!书到用时方恨少啊!可见在学校遗漏了好多知识点啊啊!!!!)
相关文章推荐
- 登录页面(login)
- login and signup 注册和登录tab页面
- iphone 退回到某一个页面。页面回退,直到LoginViewContr登录页面
- 教程3:jsp和servlet配合的简单登录页面login.jsp
- YII2.0下 怎么修改默认的登录页面site/login,指定自己的登录页
- CCS bug之5: 已登录的用户点击Login.aspx时会出现"没有权限"的错误页面
- login 跳转 到 tabbar 页面(登录界面的跳转)
- MVC4.0 使用Form认证,自定义登录页面路径Account/Login
- app.use('/',index);app.use('login',login);但当在流浪器中输入路径时登录页面不能正常跳转
- LoginStatus登录页面默认值改变
- 在登录页面如何实现记住用户名和密码这个功能
- login页面按回车键(enter)登录功能
- Ionic login简单登录页面
- spring mvc怎么加入权限控制,在未登录前,任何访问url都跳转到login页面;登录成功后跳转至先前的url
- 用户手机客户端登录Login页面跳转到手机MobileLogin页面问题总结
- JSP制作登录页面:login.jsp
- 在登录页面login.php设置的session,然后在跳转后的页面就接收不到值
- 登录页面(含后台)login.php
- 制作login.jsp页面,要求实现提供用户登陆的界面, 用户通过该界面输入用户名(控件名userName)和密码(控件名password), 然后点击“登录”按钮实现登陆操作.
- 27.5.1 登录处理页面(login.apsx.cs)