求助css高手_html/css_WEB-ITnose

WBOY
Freigeben: 2016-06-24 12:14:06
Original
1139 Leute haben es durchsucht

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

Verwandte Etiketten:
Quelle:php.cn
Erklärung dieser Website
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn
Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage
Über uns Haftungsausschluss Sitemap
Chinesische PHP-Website:Online-PHP-Schulung für das Gemeinwohl,Helfen Sie PHP-Lernenden, sich schnell weiterzuentwickeln!