Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[发布] x2 格子 广告 代码...... 完美贴合...html代码 免费分享..完美

[复制链接]
higm 发表于 2011-6-24 10:09:44 | 显示全部楼层 |阅读模式
插件发布
插件名称: x2 格子 广告 代码...... 完美贴合...html代码 免费分享..完美
插件来源: 原创插件
适用版本: Discuz! X2
语言编码: GBK简体 UTF8简体 BIG5繁体 UTF8繁体 
最后更新时间: 2011-06-24
插件作者: higm
插件简介: x2 格子 广告 代码...... 完美贴合...html代码 免费分享..完美
x2   格子  广告  代码...... 完美贴合...html代码 一键搞定..免费分享..

还在  为   格子  广告 而  烦恼吗??


  按照 下面  的 方法  弄 ..........

首先,完美处理格子广告 需要修改1个文件   template/default/common/common.css

  common.css

打开文件搜索 “格子广告”  大概在494行  结果如下:
/* 格子广告 */ .a_t { margin-bottom: 10px; }
  .a_t table { width: 100%; }
  .a_t td { padding: 4px 15px; border: 1px solid {COMMONBORDER}; }

这段代码中数值4 代表的是广告图片上下距离边框的距离   数值15 代表的是广告图片左右距离边框的距离

修改这个文件可以解决边距大小问题   达到你满意的效果
                        里面   的  4  可以 不要 修改 因为 4上下 的距离  不是 很大     15  需要 修改     我改成了4
                   即       .a_t td { padding: 4px 4px; border: 1px solid {COMMONBORDER}; }

                                                 好 了   第一步   完成了          更新 数据库

                          下面  是 代码了  
                  管理员 登陆         进入 后台  运营     站点广告     格子 广告  添加            选中 代码..格式  输入
  1. <P><A href="http://se3mao.tv.gg/love.sex.php" target=_blank><IMG alt="USlw3.jpg (230×60)" src="http://i.imgur.com/nCuGz.jpg"></A> <A href="http://se3mao.tv.gg/love.sex.php" target=_blank><IMG alt="USlw3.jpg (230×60)" src="http://i.imgur.com/nCuGz.jpg"></A> <A href="http://se3mao.tv.gg/love.sex.php" target=_blank><IMG alt="USlw3.jpg (230×60)" src="http://i.imgur.com/nCuGz.jpg"></A> <A href="http://se3mao.tv.gg/love.sex.php" target=_blank><IMG alt="USlw3.jpg (230×60)" src="http://i.imgur.com/nCuGz.jpg"></A> </P>
  2. <P><A href="http://se3mao.tv.gg/love.sex.php" target=_blank><IMG alt="USlw3.jpg (230×60)" src="http://i.imgur.com/nCuGz.jpg"></A> <A href="http://se3mao.tv.gg/love.sex.php" target=_blank><IMG alt="USlw3.jpg (230×60)" src="http://i.imgur.com/nCuGz.jpg"></A> <A href="http://se3mao.tv.gg/love.sex.php" target=_blank><IMG alt="USlw3.jpg (230×60)" src="http://i.imgur.com/nCuGz.jpg"></A> <A href="http://se3mao.tv.gg/love.sex.php" target=_blank><IMG alt="USlw3.jpg (230×60)" src="http://i.imgur.com/nCuGz.jpg"></A> </P><A href="http://se3mao.tv.gg/love.sex.php" target=_blank><IMG src="http://i.imgur.com/PJrZy.jpg"></A> <A href="http://se3mao.tv.gg/love.sex.php" target=_blank><IMG src="http://i.imgur.com/PJrZy.jpg"></A>
复制代码
   预览  图片:
宽屏格式下不乱



               
窄屏   完美 贴合   






                                         免费 分享  希望 支持               

  注意     观看 代码       代码中的  href="这里 换成 你的 广告 链接"     src="这里换成 你的 广告图片"

                如果 你想要 在 弄一排   可以                <P>      将  代码  放入  里面   </P>   代码 如下
  1. <A href="http://se3mao.tv.gg/love.sex.php" target=_blank><IMG alt="USlw3.jpg (230×60)" src="http://i.imgur.com/nCuGz.jpg"></A> <A href="http://se3mao.tv.gg/love.sex.php" target=_blank><IMG alt="USlw3.jpg (230×60)" src="http://i.imgur.com/nCuGz.jpg"></A> <A href="http://se3mao.tv.gg/love.sex.php" target=_blank><IMG alt="USlw3.jpg (230×60)" src="http://i.imgur.com/nCuGz.jpg"></A> <A href="http://se3mao.tv.gg/love.sex.php" target=_blank><IMG alt="USlw3.jpg (230×60)" src="http://i.imgur.com/nCuGz.jpg"></A>
复制代码


以上  是   4  个 图                  

     图片  你自己 采集               一般   4个 图的 话   大小是  230X60              2个图片 大小是468X60

48528423 发表于 2011-6-24 10:10:19 | 显示全部楼层
新开.500人DZ建站交流群.期待你的加入群号:105670454.大家一起交流讨论吧~~
回复

使用道具 举报

 楼主| higm 发表于 2011-6-24 10:12:22 | 显示全部楼层
48528423 发表于 2011-6-24 10:10
新开.500人DZ建站交流群.期待你的加入群号:105670454.大家一起交流讨论吧~~

广告??
回复

使用道具 举报

48528423 发表于 2011-6-24 10:14:31 | 显示全部楼层
占位
回复

使用道具 举报

ilei365 发表于 2011-6-24 10:25:59 | 显示全部楼层
不错。。。。。。。。
回复

使用道具 举报

ぷㄗigerzhu 发表于 2011-6-24 10:27:26 | 显示全部楼层
不错 我论坛也在用
回复

使用道具 举报

--CoffeE。 发表于 2011-6-24 10:28:05 | 显示全部楼层
很不错的说
回复

使用道具 举报

feigoo 发表于 2011-6-24 10:31:03 | 显示全部楼层
这里也有,还顶!

黎塘在线:http://www.lt0771.com
交换友情链接,地方站优先!
回复

使用道具 举报

石头岛 发表于 2011-6-24 10:38:19 | 显示全部楼层
{:soso__3032425742124121975_4:}
回复

使用道具 举报

LK丶晓哥 发表于 2011-6-24 10:48:25 | 显示全部楼层
不错收藏了哈
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-9-22 23:27 , Processed in 0.114064 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表