PHP div 宽度怎么改变

来源:百度知道 编辑:UC知道 时间:2024/07/04 15:30:13
<style type="text/css">
<!--
.subheader_right {
background: #F6F6F6;
color: #626262;
line-height: 28px;

}
.subheader_right a {
margin: 0px 2px 0 0;
padding: 7px 10px 8px 10px;
color: #626262;
background: inherit;
font-weight: bold;
text-decoration: none;
}
.subheader_right a:hover {
background: #33ADDB url(header_bg.gif) repeat-x;
border-top: 1px solid #1A83AC;
color: #FFFFFF;
}
-->
</style>
<div class="subheader_right">
<a href="http://pass.boxgm.com/" target="_blank">游戏盒子</a>
<a href="http://www.51netu.com/" target="_blank">耐游网</a>
<a href="

给.subheader_right 加个宽度 width:000px;

subheader_right {
background: #F6F6F6;
color: #626262;
line-height: 28px;
里面的height:调高。。或者去掉

并没有溢出啊
可以指定一个宽度,比如1000px

设置.subheader_right的line-height: 28px;让他和里面的a一样高