经过2天的学习,会简单的修改了!
http://www.173mm8.cn/yejiexinwen/2.html 这个是错位页面!
博客中有3篇测试文章,都出现错位现象。我修改的方法和修改其他页面一样,日志页文章模板却出现错位。请大家帮忙解决。谢谢!
复制内容到剪贴板
代码:
<ul>
<#CACHE_INCLUDE_NAVBAR#>
</ul>
</div>
<table width="570" height="70" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="bottom">GG广告</td>
</tr>
</table>
<div id="divMain">
<#template:article-multi#>首页模板
复制内容到剪贴板
代码:
<div class="post-nav"><#template:article_navbar_l#><#template:article_navbar_r#></div>
<table width="570" height="70" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="bottom">GG广告</td>
</tr>
</table>
<h4 class="post-date"><#article/posttime#></h4>
<h2 class="post-title"><#article/title#></h2>
<div class="post-body"><#article/content#></div>
<h5 class="post-tags"><#ZC_MSG138#>: <#template:article_tag#></h5>
<h6 class="post-footer">
<#ZC_MSG011#>:<#article/author/name#> | <#ZC_MSG012#>:<#article/category/name#></span>
<table width="570" height="70" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="bottom">GG广告</td>
</tr>
</table>
<script language="JavaScript" type="text/javascript">strBatchCount+="spn<#article/id#>=<#article/id#>,"</script>
</h6>
</div>
<ul class="msg trackback">日志页文章模板
------------------------------------------------------------------------------
下面是用DIV添加的GG广告,也错位!请二楼的朋友看看。
错位演示网址
http://www.b5b8.cn/anquanzixun/1.html复制内容到剪贴板
代码:
<div class="post cate<#article/category/id#> auth<#article/author/id#>">
<div class="ggad">
<script type="text/javascript"><!--
google_ad_client = "pub-7361379384693040";
//468x60, 创建于 08-1-5
google_ad_slot = "0510063333";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<div class="post-nav"><#template:article_navbar_l#><#template:article_navbar_r#></div>复制内容到剪贴板
代码:
.ggad {
float:none;
width: 570px;
height: 70px;
vertical-align: middle;
margin-top: 5px;
margin-left: 50px;
}CSS定义
[
本帖最后由 doubleanti 于 2008-1-8 18:30 编辑 ]