当前位置:Gxlcms > html代码 > 求大神帮忙解决html+css的问题_html/css_WEB-ITnose

求大神帮忙解决html+css的问题_html/css_WEB-ITnose

时间:2021-07-01 10:21:17 帮助过:4人阅读

这是html:





无标题文档
















ENTERENTER









这是CSS:
.wrapper {
height: 768px;
width: 1024px;
margin:auto;
padding:auto;
background:url(images/dl.jpg);
background-repeat:no-repeat;
}
#top {
width:250px;
height:107px;
padding-left:365px;
padding-top:316px;
float:left;
line-height:31px;
font-size:12px;
color:#FFF;
}
#enter {
width:109px;
height:72px;
float:right;
padding-top:350px;
padding-right:290px;
color:#FFF;
}
#enter #div1{
margin-left:1px;
font:30px tahoma;
font-family:Arial;
font-weight:bold;
}
#enter #div2{
position:relative;
z-index:1;
}
#enter #span1{
position:absolute;
top:1px;
left:2px;
z-index:-1;
color:#cccccc;
width: 100px;
height: 52px;
}
#foot {
width:964px;
height:403px;
padding-left: 300px;
padding-top: 600px;
font-size:12px;
left: 316px;
color:#FFF;
}


回复讨论(解决方案)

什么问题呀~麻烦你描述清楚,自己想问的问题?

神马问题?

就是窗口大小改变后,里面的图片,控件,文字都跟着改变大小,相对位置保持不变

人气教程排行