作者lalaho (lalaho)
看板wretch
标题Re: [问题] 无名留言板上方广告拿掉
时间Sat Sep 20 01:15:50 2008
※ 引述《yekome (/ \)》之铭言:
: 如题
: 请问要将广告隐藏
: 要在CSS哪改语法呢?
: 谢谢
请把下段语法贴到留言板的CSS里唷!
2008最新版,留言板挡广告语法如下(有点长唷):
/************css by anitamui*************/
script {visibility: hidden !important; }
#ad_bottom{display: none !important; }
#ad_float {display: none !important;}
#logo{display: none !important; }
html body div
#ad_gbook table tbody tr td#logo,
html body div
#ad_gbook table tbody tr td#logo.small-c,
html body div
#ad_gbook table tbody tr td
{clip:rect(500px, 0px, 0px, 500px) !important;
display:none !important;*display:none !important;height:0px !important;
opacity:0 !important;filter: alpha(opacity=0) !important;visibility:hidden
!important;}
html body div
#ad_gbook,html body div
#ad_gbook table tbody tr td#logo.small-c a
{clip:rect(500px, 0px, 0px, 500px) !important;display:none
!important;height:0px !important;
width:0px !important;opacity:0 !important;filter: alpha(opacity=0)
!important;position:static !important;
visibility:hidden !important;}
html body div
#ad_gbook table tbody tr td iframe,html body div
#ad_gbook table
tbody tr td object,
html body div
#ad_gbook table tbody tr td object embed
{clip:rect(500px, 0px, 0px, 500px) !important;display:none !important;
height:0px !important;width:0px !important;opacity:0 !important;
filter: alpha(opacity=0) !important;position:static
!important;visibility:hidden !important;}
html body div
#ad_gbook table
{clip:rect(500px, 0px, 0px, 500px) !important;display:none !important;
height:0px !important;opacity:0 !important;filter: alpha(opacity=0)
!important;
position:static !important;visibility:hidden !important;}
#do_multi_post{display:none}
html body div
#ad_gbook table tbody,
html body div
#ad_gbook table tbody tr
{clip:rect(500px, 0px, 0px, 500px) !important;display:none !important;
height:0px !important;opacity:0 !important;filter: alpha(opacity=0)
!important;
position:static !important;visibility:hidden !important;}
body div{clip:rect(-500px, 0px, 0px, 500px) !important;}
body div.main,body div.main div{clip:rect(auto, auto, auto, auto) !important;
visibility:visible !important;}
#ad_gbook>table{clip:rect(500px, 0px, 0px, 500px)
!important;margin-top:-600px;
position:relative !important;display:none !important;width:0px !important;
height:0px !important;visibility:hidden !important;}
很长喔 男复制可到原网页
http://www.wretch.cc/blog/anitamui/24101331
--
AHOLA.com
http://www.wretch.cc/blog/anitamui
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 220.228.156.243
1F:推 GirlInBlack:一定要推的啊!希望站方不会开始挡反广告程式码 @@" 09/21 13:48
2F:推 KevinAction:那这样这篇应该低调才对... 囧 09/21 16:17
3F:推 sgracee:那女复制可到哪?(误) 09/21 16:25
4F:推 HarukoAkagi:有规定贴在哪行吗? 为什麽不能用= = 09/22 14:24
5F:推 kanakin:不行+1 09/22 16:16
6F:推 Stoat:不行+1 09/22 22:53
7F:推 pigchang:因为你们太不低调... 被潜水的牙虎客服发现了-0-" 09/22 23:01