JS调用广告位如何设置居中
<divid="sidebar"><divclass="commbox"><h3><span>广告内容</span></h3><divclass="inner"><div...
<div id="sidebar">
<div class="commbox">
<h3><span>广告内容</span></h3>
<div class="inner"><div class="other_movie" id="type"><div class="movie_list" style="height:264px;"><script type="text/javascript" src="{$InstallDir}Ads/250250_1.js"></script></div></div></div>
</div>
次段调用广告位怎么设置都无法居中 请高人指点下。
h3{font:14px/normal "Microsoft YaHei", "Microsoft JhengHei";color:#000; background:url(images/h3_bg.gif) no-repeat right top; height:28px; line-height:28px; position:relative; overflow:hidden;}
h3 span{ background:url(images/pic.gif) no-repeat -281px -783px; padding-left:11px; float:left; }
h3 span a{ margin:3px 10px 0 0;*margin:3px 9px 0 0; float:left; cursor:pointer; }
h3 span a.up{ background:url(images/pic.gif) no-repeat 0 -911px; padding-left:5px; text-align:center; height:23px; line-height:23px; color:#3D8BCA;margin:5px 10px 0 0;*margin:5px 9px 0 0; }
h3 span a.up strong{background:url(images/pic.gif) no-repeat right -911px; float:left; padding-right:5px; text-decoration:none;}
h3 span a.up:hover{ text-decoration:none;}
h3 code.cls{font-size:12px; float:right; margin-right:8px; margin-top:3px; cursor:pointer; color:#7C7B7B;}
.more{ position:absolute; right:10px; top:5px;font:normal 12px/1.6 simsun, Verdana, Lucida, Arial, Helvetica, sans-serif;color:#3c3c3c;} 展开
<div class="commbox">
<h3><span>广告内容</span></h3>
<div class="inner"><div class="other_movie" id="type"><div class="movie_list" style="height:264px;"><script type="text/javascript" src="{$InstallDir}Ads/250250_1.js"></script></div></div></div>
</div>
次段调用广告位怎么设置都无法居中 请高人指点下。
h3{font:14px/normal "Microsoft YaHei", "Microsoft JhengHei";color:#000; background:url(images/h3_bg.gif) no-repeat right top; height:28px; line-height:28px; position:relative; overflow:hidden;}
h3 span{ background:url(images/pic.gif) no-repeat -281px -783px; padding-left:11px; float:left; }
h3 span a{ margin:3px 10px 0 0;*margin:3px 9px 0 0; float:left; cursor:pointer; }
h3 span a.up{ background:url(images/pic.gif) no-repeat 0 -911px; padding-left:5px; text-align:center; height:23px; line-height:23px; color:#3D8BCA;margin:5px 10px 0 0;*margin:5px 9px 0 0; }
h3 span a.up strong{background:url(images/pic.gif) no-repeat right -911px; float:left; padding-right:5px; text-decoration:none;}
h3 span a.up:hover{ text-decoration:none;}
h3 code.cls{font-size:12px; float:right; margin-right:8px; margin-top:3px; cursor:pointer; color:#7C7B7B;}
.more{ position:absolute; right:10px; top:5px;font:normal 12px/1.6 simsun, Verdana, Lucida, Arial, Helvetica, sans-serif;color:#3c3c3c;} 展开
3个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询