<div class="top_all"> <div class="top_all_jz"> <div class="top_all_lb"> <h3 class="top_all_h1">1</h3> <ul> <li>1</li> <li>1</li> <li>1</li> <li>1</li> <li>1</li> </ul> </div> <div class="top_all_lb"> <h3 class="top_all_h">2</h3> <ul> <li>2</li> <li>2</li> <li>2</li> <li>2</li> <li>2</li> </ul> </div> <div class="top_all_lb"> <h3 class="top_all_h">3</h3> <ul> <li>3</li> <li>3</li> <li>3</li> <li>3</li> <li>3</li> </ul> </div> </div> </div>CSS代码
.top_all{background:url(/ad/bg-heading.png) #eee repeat;height:210px; padding-top:25px; margin-bottom:20px; margin-top:-30px; width:100%;} .top_all_jz{float:left; border:#000000 1px solid;} .top_all_lb{float:left; width:310px;} .top_all_lb ul li{ margin-bottom:5px;} .top_all_h{ font-size:18px; font-weight:bold} .top_all_h1{ font-size:18px; color:#FF0000; font-weight:bold;}效果图贴上
AI智能回复搜索中,请稍后...
3 回答
.top_all{background:url(/ad/bg-heading.png) #eee repeat;height:210px; padding-top:25px; margin-bottom:20px; margin-top:-30px; width:100%;}
解决办法: 其中的 width:你网站上的实际宽度; 例如:你改成 width:990px;