您好,欢迎来到测品娱乐。
搜索
您的当前位置:首页求助css高手_html/css

求助css高手_html/css

来源:测品娱乐


项目中要求登陆界面不论浏览器最大化或者最小化都能正常显示,现在的情况是最大化没有问题,最小化不行。@charset "utf-8";
/* CSS Document */

html{height:100%; overflow:hidden;width:100%;}
body{height:100%; overflow:hidden; background:#c5daf3 url(../../images/style1/login/bg-body-x.gif) repeat-x top;width:100%;}

.btnCss1{
width:100px;
height:40px;
border:none;
background:url(../../images/style1/login/img-btn01.png);
cursor:pointer;
}
.textCss1{
width:290px;
height:40px;
border:none;
padding:0 10px;
background:url(../../images/style1/login/bg-inputText.png) no-repeat;
font:12px/40px Verdana, Geneva, sans-serif;
color:#9b9b9b;
}

#bgbody{height:100%; overflow:hidden; background:url(../../images/style1/login/bg-body.jpg) no-repeat center top;}

#logo{padding:50px 0 0 200px;}

#loginBox{
position:absolute;
bottom:180px;
right:200px;
font:15px/100% "微软雅黑","黑体";
}
#loginBox table td{padding:10px 0;}
#loginBox table a {
padding-right:10px;
color:#2a71e0;
text-decoration:none;
}

#copyright{
position:absolute;
left:20px;
right:20px;
bottom:0;
padding:20px;
text-align:center;
color:#626d79;
font:12px/40px Verdana, Geneva, sans-serif;
}
#copyright hr{
width:100%;
border:solid 1px #90a7c3;
border-bottom-color:#e2edf9;
border-left:none;
border-right:none;
现在的问题是登陆框loginBox正常,但里面用于输入用户名和密码的表单不行


回复讨论(解决方案)

因为不知如何上传图片,就将效果图放在本人个人主页的css相册中了,请各位见谅!

因为不知如何上传图片,就将效果图放在本人个人主页的css相册中了,请各位见谅!

因为不知如何上传图片,就将效果图放在本人个人主页的css相册中了,请各位见谅! 最好的处理就是将高度与宽度设置成百分比的形式.

没有用,我试过

能正常显示???是什么意思?????来个站内信。。什么叫正常,什么叫不正常

这个问题 估计是margin-left 或者margin-right 引起的 ,,你可以去掉,换种方式试一下!! 用padding

Copyright © 2019- cepb.cn 版权所有 湘ICP备2022005869号-7

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务