请教大家怎么把代码新增的几个广告之间的间隙为0
2016-07-07 16:07 来源:www.chinab4c.com 作者:ecshop专家
在index.dwt里增加了一个三行三列的表格,在里面写入广告,现在广告之间上下有空白间距,左右没有,想把图片上下之间的间距设为0,应该怎么做?用div也不行, <table width="1000" border="0" cellspacing="0" cellpadding="0"> <tr> <th rowspan="2" style="border:solid 0px black; border-bottom:0;"><!-- TemplateBeginEditable name="大框大广告1" --> <!-- #BeginLibraryItem "/library/ad_position.lbi" --> {insert name='ads' id=$ads_id num=$ads_num} <div class="blank"></div> <!-- #EndLibraryItem --> <!-- TemplateEndEditable --></th> <th rowspan="2" style="border:solid 0px black; border-bottom:0;"><!-- TemplateBeginEditable name="大框大广告2" --> <!-- #BeginLibraryItem "/library/ad_position.lbi" --> {insert name='ads' id=$ads_id num=$ads_num} <div class="blank"></div> <!-- #EndLibraryItem --> <!-- TemplateEndEditable --></th> <th valign="top" bordercolor="0" style="border:solid 0px black; border-bottom:0;"><!-- TemplateBeginEditable name="大框小广告上" --> <!-- #BeginLibraryItem "/library/ad_position.lbi" --> {insert name='ads' id=$ads_id num=$ads_num} <!-- #EndLibraryItem --> <!-- TemplateEndEditable --></th> </tr> <tr> <td valign="top" bordercolor="0" style="border:solid 0px black; border-bottom:0;"><!-- TemplateBeginEditable name="大框小广告中" --> <!-- #BeginLibraryItem "/library/ad_position.lbi" --> {insert name='ads' id=$ads_id num=$ads_num} <div class="blank"></div> <!-- #EndLibraryItem --> <!-- TemplateEndEditable --></td> </tr> <tr> <td style="border:solid 0px black; border-bottom:0;"><!-- TemplateBeginEditable name="大框标题广告" --> <!-- #BeginLibraryItem "/library/ad_position.lbi" --> {insert name='ads' id=$ads_id num=$ads_num} <div class="blank"></div> <!-- #EndLibraryItem --> <!-- TemplateEndEditable --></td> <td style="border:solid 0px black; border-bottom:0;"><!-- TemplateBeginEditable name="大框文章调用" --> <div align="left"><!-- #BeginLibraryItem "/library/cat_articles.lbi" --> <div class="box"> <div class="box_1"> <h3> <span><a href="{$articles_cat.url}">{$articles_cat.name|escape:html}</a></span> <a href="{$articles_cat.url}"><img src="../images/more.gif" alt="more" /></a></h3> <div class="boxCenterList RelaArticle"> <!--{foreach from=$articles item=article_item}--> <a href="{$article_item.url}" title="{$article_item.title|escape:html}">{$article_item.short_title}</a> {$article_item.add_time}<br /> <!--{/foreach}--> </div> </div> </div> <div class="blank5"></div> <!-- #EndLibraryItem --> </div> <!-- TemplateEndEditable --></td> <td valign="top" bordercolor="0" style="border:solid 0px black;border-bottom:0;"><!-- TemplateBeginEditable name="大框小广告下" --> <!-- #BeginLibraryItem "/library/ad_position.lbi" --> {insert name='ads' id=$ads_id num=$ads_num} <div class="blank"></div> <!-- #EndLibraryItem --> <!-- TemplateEndEditable --></td> </tr> </table> |
最近更新
常用插件
- ecshop没登陆情况下订单查
ecshop没登陆情况下订单查询插件,主要是针对ecshop在没有登陆的情况下...
- ecshop虚拟发货插件
ecshop虚拟发货插件介绍: ecshop虚拟发货插件,主要为了通过后台手动录...
- ecshop订单聚合插件
ecshop订单聚合插件,主要是为了方便ecshop中订单产品到货情况的分析和...
- ecshop注册审核插件
ecshop插件介绍:ecshop会员注册审核插件,主要是在前台提供给注册的时候...
- ecshop的oss插件
ecshop的oss插件免费共享了,oss,ecshoposs...
ecshop热门问答
ecshop热门资料
ecshopindex
ecshop启动盘
ecshop网络连接
ecshopregion
ecshop悲剧
ecshopbody
ecshop同意
ecshopsesions
ecshop部署
ecshop外贸收款
ecshopswf
ecshopqq登陆
ecshop346
ecshop网站漏洞
ecshopphoto
ecshop简历
ecshop运费计算错误
amount
ecshop渴望
ecshop图片批量上传
ecshop板式
ecshopECMALL佣金提成
ecshopPNG
ecshopcss
ecshoptab
ecshop去百度
ecshop经验总结
ecshop文章分页
ecshopSOS
ecshop巴巴