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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[素材] x2 格子 广告 代码...... 完美贴合...html代码 一键搞定..免费分享..

[复制链接]
higm 发表于 2011-6-24 10:04:03 | 显示全部楼层 |阅读模式
本帖最后由 higm 于 2011-6-24 10:05 编辑

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



本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
feigoo 发表于 2011-6-24 10:07:30 | 显示全部楼层
不错,以后用的上!

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

使用道具 举报

 楼主| higm 发表于 2011-6-24 10:11:16 | 显示全部楼层
feigoo 发表于 2011-6-24 10:07
不错,以后用的上!

黎塘在线:http://www.lt0771.com

呵呵   html  代码     我就是 用 QQ空间 的 日志 里面 不是 支持 html代码吗   我把图片 排好  插入链接  就 知道 html  代码了  
回复

使用道具 举报

feigoo 发表于 2011-6-24 10:13:59 | 显示全部楼层
higm 发表于 2011-6-24 10:11
呵呵   html  代码     我就是 用 QQ空间 的 日志 里面 不是 支持 html代码吗   我把图片 排好  插入链接 ...

真有心啊!
回复

使用道具 举报

kaqiusacn 发表于 2011-6-24 13:05:17 | 显示全部楼层
higm 发表于 2011-6-24 10:11
呵呵   html  代码     我就是 用 QQ空间 的 日志 里面 不是 支持 html代码吗   我把图片 排好  插入链接 ...

不错,想法不错,举一反三
回复

使用道具 举报

gh6812 发表于 2011-10-2 10:49:07 | 显示全部楼层
学习下。。慢慢摸石头过河啊。。哈哈
回复

使用道具 举报

81336388 发表于 2011-10-2 12:13:52 | 显示全部楼层
我压力很大呀。~    http://www.c9c9gua.com
回复

使用道具 举报

ilei365 发表于 2011-10-2 13:17:33 | 显示全部楼层
顶个。。。。。。
回复

使用道具 举报

xyzjia.com 发表于 2011-10-3 15:41:55 | 显示全部楼层
谢谢你,有帮助!!
回复

使用道具 举报

cwgchen 发表于 2011-10-5 10:23:25 | 显示全部楼层
无声 拿走······
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-27 01:05 , Processed in 0.029441 second(s), 2 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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