logo被锁定宽高限制,230*50。请问PHP网页高手们,下面的代码我要怎么改才能修改高度? 5
#main{width:950px;margin:0auto;}#right{width:205px;float:right;overflow:hidden;}#left...
#main{ width:950px; margin:0 auto;}
#right{width:205px; float:right;overflow:hidden;}
#left{width:740px; float:left; overflow:hidden;}
#right2{width:740px; float:right; overflow:hidden}
#left2{width:205px; float:left;overflow:hidden;}
#header{ width:100%; height:30px; margin:0 auto; background:url(../images/commbg.gif) repeat-x 0 0;}
#footer{ height:100px; margin:0 auto; width:950px; border-top:1px solid #ddd; padding-bottom:20px;}
#footer .renzheng{ width:auto; text-align:center; margin:10px auto; height:50px;}
#footer .tj{ text-align:center;}
.header_left{ float:left; padding-left:10px; line-height:28px;}
.header_right{ float:right; margin-right:10px; line-height:28px;}
.navtop{ width:950px;margin:15px auto; margin-bottom:0px; height:60px;}
.logo{ float:left; width:230px; margin-top:0px; overflow:hidden;}
.logo a {display:block; width:230px; }
.searchbox{ float:right; width:522px; margin-top:0px; margin-right:1px}
.s-nav{ position:relative; font-size:12px; z-index:2; width:300px; height:20px}
.s-nav .y{ color:#000; display:block; width:56px; height:20px; background:url(../images/baobei-bg.gif); text-align:center; font-weight:bold; height:20px; line-height:20px; cursor:pointer; float:left}
.s-nav a.y:hover{ color:#000}
.s-nav .n{ display:block; width:56px; height:20px; text-align:center; height:20px; line-height:20px; cursor:pointer; float:left; color:#005ed9}
.s-nav a.n:hover{ color:#F60}
.box{background:url(../images/box-left.gif) no-repeat; width:520px; height:33px; padding-left:4px; position:relative; top:-1px; z-index:1}
.box-middle{display:block; float:left; width:516px; height:33px; background:url(../images/box-middle.gif) repeat-x; padding-top:3px}
.box-right{display:block; float:left; background:url(../images/box-right.gif) right no-repeat; width:3px; height:33px}
.box .s-txt{ height:18px; width:379px; float:left; position:relative; top:0px; border:0px; color:#bababa; background:url(../images/s-txt-bg.gif) no-repeat 5px 5px; padding-left:25px; font-size:12px; padding-top:7px}
.s-hot{ font-size:12px; margin-top:5px; margin-left:5px; background:url(../images/s-hot-bottom.gif) bottom left no-repeat; height:25px; line-height:25px}
.s-hot a{margin-left:5px; width:630px;}
.s-hot a:link{ color:#000; text-decoration:none; margin-left:5px}
.s-hot a:hover{ color:#F60; text-decoration:underline;}
.s-hot a:visited{ color:#000; text-decoration:none;} 展开
#right{width:205px; float:right;overflow:hidden;}
#left{width:740px; float:left; overflow:hidden;}
#right2{width:740px; float:right; overflow:hidden}
#left2{width:205px; float:left;overflow:hidden;}
#header{ width:100%; height:30px; margin:0 auto; background:url(../images/commbg.gif) repeat-x 0 0;}
#footer{ height:100px; margin:0 auto; width:950px; border-top:1px solid #ddd; padding-bottom:20px;}
#footer .renzheng{ width:auto; text-align:center; margin:10px auto; height:50px;}
#footer .tj{ text-align:center;}
.header_left{ float:left; padding-left:10px; line-height:28px;}
.header_right{ float:right; margin-right:10px; line-height:28px;}
.navtop{ width:950px;margin:15px auto; margin-bottom:0px; height:60px;}
.logo{ float:left; width:230px; margin-top:0px; overflow:hidden;}
.logo a {display:block; width:230px; }
.searchbox{ float:right; width:522px; margin-top:0px; margin-right:1px}
.s-nav{ position:relative; font-size:12px; z-index:2; width:300px; height:20px}
.s-nav .y{ color:#000; display:block; width:56px; height:20px; background:url(../images/baobei-bg.gif); text-align:center; font-weight:bold; height:20px; line-height:20px; cursor:pointer; float:left}
.s-nav a.y:hover{ color:#000}
.s-nav .n{ display:block; width:56px; height:20px; text-align:center; height:20px; line-height:20px; cursor:pointer; float:left; color:#005ed9}
.s-nav a.n:hover{ color:#F60}
.box{background:url(../images/box-left.gif) no-repeat; width:520px; height:33px; padding-left:4px; position:relative; top:-1px; z-index:1}
.box-middle{display:block; float:left; width:516px; height:33px; background:url(../images/box-middle.gif) repeat-x; padding-top:3px}
.box-right{display:block; float:left; background:url(../images/box-right.gif) right no-repeat; width:3px; height:33px}
.box .s-txt{ height:18px; width:379px; float:left; position:relative; top:0px; border:0px; color:#bababa; background:url(../images/s-txt-bg.gif) no-repeat 5px 5px; padding-left:25px; font-size:12px; padding-top:7px}
.s-hot{ font-size:12px; margin-top:5px; margin-left:5px; background:url(../images/s-hot-bottom.gif) bottom left no-repeat; height:25px; line-height:25px}
.s-hot a{margin-left:5px; width:630px;}
.s-hot a:link{ color:#000; text-decoration:none; margin-left:5px}
.s-hot a:hover{ color:#F60; text-decoration:underline;}
.s-hot a:visited{ color:#000; text-decoration:none;} 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询