求助css高手_html/css_WEB-ITnose

项目中要求登陆界面不论浏览器最大化或者最小化都能正常显示,现在的情况是最大化没有问题,最小化不行。@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

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至253000106@qq.com举报,一经查实,本站将立刻删除。

发布者:PHP中文网,转转请注明出处:https://www.chuangxiangniao.com/p/3090525.html

(0)
上一篇 2025年3月28日 12:02:32
下一篇 2025年3月28日 12:02:36

AD推荐 黄金广告位招租... 更多推荐

发表回复

登录后才能评论