我在www.hi.baidu.com申請了一個bolg2 J; v' e X) B# W/ ? L& Z
想把google的廣告插到頁面裡,但自己對這方面知識少,無法做到。" F- T# L9 U/ L, b* L7 G
特來問問各位高手該如何做。。。% P7 n. z% X, Q: s
+ i4 O6 C9 D0 X
編輯CSS自定義模板:6 O u9 c0 q) b- ~
body{background:url(http://img.baidu.com/hi/temp16/bg.jpg) #F2F7FE}& O; j: Z% p' I$ Y
1 F. k) ^, Y: t# n8 A
! Y) U: T4 h5 y) y b#header{height:89px;background:url(http://img.baidu.com/hi/temp16/hdbg.gif) repeat-x #E1F0F9}
' a) ^# J/ O: q6 O- [& f' D#header div.lc{background:url(http://img.baidu.com/hi/temp16/hdl.gif) no-repeat}
& X+ l( m( g7 [#header div.rc{background:url(http://img.baidu.com/hi/temp16/hdr.jpg) no-repeat top right}
- X! @; `9 \0 n$ q, x#header div.tit{top:8px;left:20px;line-height:22px;font-size:20px;font-family:黑體}
% R& f0 m4 p) C) t& D7 g#header div.tit a.titlink{color:#4E81B4;text-decoration:none}
, Z3 g! N6 i" K+ S#header div.tit a.titlink:visited{color:#4E81B4;text-decoration:none}! O; R2 u. ^+ C* r/ D3 v" M" H0 I
#header div.desc{top:33px;left:20px;color:#4E81B4;font-size:13px}
3 `5 m3 b( N/ W; G/ Y5 R9 M1 g#tabline{top:89px;background:#A1B6CE}' I, A! {7 R, S5 W& P
#tab{top:67px;background:#758DA1}9 s" f) Q) @' w" D7 n
#tab a.on,#tab a.on:link,#taba.on:visited{margin-top:3px;line-height:19px;background-color:#A1B6CE;color:#FFFFFF;font-size:14px}4 o0 y, u' F6 y2 p+ ~2 d9 b
#tab span{color:#FFFFFF;font-size:14px}1 f+ C" A: {# B, c4 H2 j
#tab a:link{color:#FFFFFF;text-decoration:none;font-size:14px}
# F9 P$ U0 I- S/ x9 s A" v8 H7 l3 H K; B#tab a:visited{color:#FFFFFF;text-decoration:none;font-size:14px}& y2 ~$ V- \: n; r$ w' s* j. t
#tab2{background:#DAE9F5}/ \% L! U" b5 ], w1 _" F
#tab2 span{color:#000000;font-size:12px;font-weight:bold}+ {0 h" r/ p) X. A
#tab2 a{font-size:12px}) J! V& U! a7 q. G- t
#tab2 a:link{color:#0000CC}: h7 r2 V1 J6 C3 X1 o! R6 {+ s
#tab2 a:visited{color:#0000CC} Y9 W$ n+ t! G( g, I& R& U
# |: g$ F, F/ o$ d5 S% H; G+ c* x( \, I+ s6 ~, _5 I
.stage{}7 ~9 H+ D0 ^9 V* f
3 x, v( a- N N' l1 _- ^$ j
, `( }( Y' y# S#header div.lc{background:url(http://img.baidu.com/hi/temp16/hdl.gif) no-repeat}& L6 p: B# K9 r2 O# j
#header div.rc{background:url(http://img.baidu.com/hi/temp16/hdr.jpg) no-repeat top right}
: ^4 O1 n' ]6 I- q0 H#header div.tit{top:8px;left:20px;line-height:22px;font-size:20px;font-family:黑體}
) m0 A4 o( `9 R: T* z#header div.tit a.titlink{color:#4E81B4;text-decoration:none}, S, N0 }# W9 N* h5 P# i+ ~9 }
#header div.tit a.titlink:visited{color:#4E81B4;text-decoration:none}
" B9 X3 b' d# r' |! G#header div.desc{top:33px;left:20px;color:#4E81B4;font-size:13px}8 f6 O+ \" D( E& f! f, N+ A
#tabline{top:89px;background:#A1B6CE}8 V3 p$ g$ G4 |- P. m& O: B- y! Z
#tab{top:67px;background:#758DA1}* y1 I7 R- `% K( o4 ?
#tab a.on,#tab a.on:link,#taba.on:visited{margin-top:3px;line-height:19px;background-color:#A1B6CE;color:#FFFFFF;font-size:14px}
$ b; E8 I5 T1 l" x#tab span{color:#FFFFFF;font-size:14px}
4 y, a& L* t% W3 V" D( o3 i#tab a:link{color:#FFFFFF;text-decoration:none;font-size:14px}
1 V* f0 p& i* I6 `+ ~2 W, r; x#tab a:visited{color:#FFFFFF;text-decoration:none;font-size:14px}
& _( H' e! c: ~#tab2{background:#DAE9F5}
4 m. c, X+ o# T9 e! X8 y3 z#tab2 span{color:#000000;font-size:12px;font-weight:bold}+ j L2 s% C0 y$ T& Q% D# f& h
#tab2 a{font-size:12px}
% C. v, U" J3 ?/ k9 ]#tab2 a:link{color:#0000CC}
" [2 t2 S7 f" l6 D, W, Q3 ]#tab2 a:visited{color:#0000CC}
2 O% p" s u: G+ z: Q. x9 x" b3 S+ {+ ]' f0 B; n3 H3 [
( k& v: v4 k6 h. `- V. O2 g2 A
.stage{}
- Y& K5 N+ s0 Q. e/ e) m W
0 }2 x8 ~( i4 g2 X, A! ~3 M
' s: p9 ~8 u: N2 l# a2 T7 ^& P#comm_info{ccolor:#000000;font-family:Arial;text-align:left}
8 l E% \; K9 H. U1 t#comm_info div.line{margin-top:5px;line-height:8px;border-top:1px solid #BDD5EF}
4 L, L8 T' u7 g9 q#comm_info a{color:#196CCA}4 ~5 C/ K/ ^. q; {! i& S, J4 ^0 E
8 b% t2 k! p! q1 A2 P" Y9 {; r8 _3 Z7 e8 ^: S) O2 ~
#page{height:30px;font-size:14px;font-family:Arial;text-align:center}4 z5 u) S% t! ~3 g4 K! A: N9 r
#page span{padding:3px;color:#000000;font-size:14px;font-weight:bold}! V2 u# V% T5 w; D+ r
#page a.pc{color:#196CCA;font-size:14px;font-weight:bold}
; J( K5 P- P+ I#page a.pc:visited{color:#196CCA}4 N$ h8 \7 m* H7 q! R
#page a.pi{padding:3px;color:#196CCA;font-size:14px}* D1 O2 B/ l% Q2 |+ T; W( t( L
#page a.pi:visited{color:#196CCA} P8 V$ t) [& D& M$ B# [& Y4 k2 z
4 R1 X0 i* Z! h
: h U! C! p- B.mod{margin-bottom:10px}9 n: ~, r Z; L. b+ t
.modhandle{cursor:move}
7 Q% i5 ]( u; L$ j, f& Z+ c' s.modth{height:24px}- w9 F: [! l3 E5 o+ J
.modhead{padding:4px 4px 0 4px}
* F- J, y& k5 Y; H( B.modopt{padding:4px 4px 0 0}
: N$ U- |8 H; `.modtit{color:#000000;font-size:12px;font-weight:bold}a.modtit{color:#000000}a.modtit:visited{color:#000000} |+ L" P, S" ~0 X
.modtitlink{color:#FFFFFF;font-size:12px;font-weight:bold}a.modtitlink{color:#FFFFFF;text-decoration:none}a.modtitlink:visited{color:#FFFFFF;text-decoration:none}a.modtitlink:hover{color:#FFFFFF;text-decoration:underline}& k. h) q% n) _2 \5 S' Y
.modact{color:#000000;font-size:12px}a.modact:link{color:#000000}a.modact:visited{color:#000000}4 w+ ~7 Y# B1 m0 |- x7 @! y# o" C9 p6 }7 S3 W
.modbox{padding:10px 10px 0 10px;background:#EBF2F9;border-left:1px solid #A6BCD3;border-right:1px solid #A6BCD3}
( H% }4 J a& ]% m.modtl{background:url(http://img.baidu.com/hi/temp16/ptitl.gif) no-repeat top left;line-height:1px}
! h2 N6 K7 ^" N9 m: _: X9 t.modtc{background:url(http://img.baidu.com/hi/temp16/ptitc.gif) repeat-x}4 M, W7 f/ x; O
.modtr{background:url(http://img.baidu.com/hi/temp16/ptitr.gif) no-repeat top right;line-height:1px}" v% y3 b& \2 ~5 d9 P Z
.modbl{background-color:#EBF2F9;border-left:1px solid #A6BCD3;border-bottom:1px solid #A6BCD3;line-height:1px}
( h) ?6 W) N. Z! {' f% S.modbc{background-color:#EBF2F9;border-bottom:1px solid #A6BCD3;line-height:1px}
( Q8 Y X) x$ M# N.modbr{background-color:#EBF2F9;border-right:1px solid #A6BCD3;border-bottom:1px solid #A6BCD3;line-height:1px}" ]% [ @* o; J ?+ J
.modbox,.modbl,.modbc,.modbr{filter:alpha(opacity=80);-moz-opacity:0.8;width:auto !important;width:100%}8 Y. m, [! b7 {7 I* ?% I# {
2 t% E% c' c8 t$ q# Z) W8 d! n- ~' k
#m_blog div.tit{font-size:14px;font-weight:bold}% T" U) l4 R& b7 U& U
#m_blog div.tit a{color:#000000;font-size:14px;font-weight:bold}
8 i3 C m& b6 R5 p#m_blog div.tit a:visited{color:#000000}. ~% v9 E6 R: j. a
#m_blog div.date{margin:5px 0 8px 0;color:#666666}) _' N! ^% ]# `9 A" h Q2 |2 m
#m_blog div.cnt{color:#000000;line-height:20px;font-size:14px}
4 u9 r; y5 G9 ]9 j4 }#m_blog div.more{margin:14px 0 16px 0}/ ]5 w8 m1 r, b- q/ c3 ]' u
#m_blog div.more a{color:#196CCA;font-size:14px}, _4 _, Z+ O0 r7 m7 p
#m_blog div.more a:visited{color:#196CCA}
* O. f, ^# @6 D& J& T# G#m_blog div.opt{color:#666666;font-size:12px}3 Y6 U0 l i- `8 n, j K! A
#m_blog div.opt a{color:#196CCA;font-size:12px}& B' v' p5 l8 {; ~* i3 q
#m_blog div.opt a:visited{color:#196CCA}
2 Q! j3 c! ?8 p, v, u#m_blog div.line{margin-top:17px;line-height:17px;border-top:1px solid #BDD5EF}
; U5 z4 V1 C. A ^1 m7 `#m_blog div.none{padding:100px 0 100px 0;color:#000000;font-size:14px}/ j. J% _' v) a6 q' \
+ I3 A2 B5 t" C' v; H
% w, A! }+ c+ J9 W) ?% i8 O- x#m_pro a{color:#196CCA}
9 T1 \, ^% p9 Q6 }#m_pro a:visited{color:#196CCA}' a8 S4 E, N' t6 ]
#m_pro div.image{text-align:center}
) i2 f( o' a# C q, C& k: @#m_pro div.act{margin-top:10px}
( ~8 \) p' N$ x: F( s6 Y+ t#m_pro div.user{margin-top:10px;color:#000000;font-size:12px;font-weight:bold}
* _8 B0 u- _; w$ G/ l! ]) g! c#m_pro div.desc{color:#000000;font-size:12px}
' \( a& m% Y3 o, B( W9 H#m_pro div.line{margin-top:17px;line-height:17px;border-top:1px solid #BDD5EF}
. |- m3 ^) Y B* P0 W#m_pro td{color:#000000;line-height:24px;font-size:14px}5 |8 L) z- L4 G1 H4 h7 c& X4 `
6 C" p. _& t- \, x" t1 P) U
#m_album div.image{text-align:center}
# c7 o8 y. X- i/ u2 V#m_album div.page{color:#666666;font-size:12px;text-align:center}
- O% b" [! v" A% O) L% s1 O#m_album div.page a{color:#0000CC;font-size:12px}/ _4 s; Q! T& Q
#m_album div.page a:visited{color:#0000CC}
* I0 |" X2 E% W* \0 h
9 ?6 t% Q7 m$ ?#m_links div.item{color:#000000;font-size:12px}6 @5 K Z2 M f0 G& i# ^
#m_links div.item a{color:#196CCA;font-size:12px;text-decoration:none}" e: l. z0 |% G& O% |* N! C4 Q
#m_links div.item a:visited{color:#196CCA}
3 T8 b- Y+ x X2 S; ~#m_links div.line{margin-top:5px;line-height:8px;border-top:1px solid #BDD5EF}. |9 l# S0 r1 X9 a' ?4 a8 G1 S$ I
4 C: b5 h2 u+ o0 W. U& O5 n1 N4 l0 ?& A1 N" e: T2 F' B
#m_artclg div.item{color:#666666;font-size:12px}
, o) n, V/ O4 Z5 B. a#m_artclg div.item a{color:#196CCA;font-size:12px}9 {; o/ N: @4 E& `" n
#m_artclg div.item a:visited{color:#196CCA}5 i, w9 `6 H D' ~/ D, K3 |1 ~" l2 V/ |
#m_artclg div.line{margin-top:5px;line-height:8px;border-top:1px solid #BDD5EF}
+ w3 C" b' J; G- F. j$ O, t" U! G/ s: T- J
3 C; F4 T) ^7 T" v" U# @; q
+ P1 C0 n" g3 r6 R) @#m_comment div.item{color:#000000;font-size:12px}: H, \1 d7 k$ y P( c4 e8 E; X
#m_comment div.item a{color:#196CCA;font-size:12px}
& H- E8 e; Q, w& `#m_comment div.item a:visited{color:#196CCA}9 x* |3 D$ K X; e5 f1 J: s% g5 N
#m_comment div.item a.cnt{color:#000000;font-size:12px;text-decoration:none}
' Y7 u& T7 |% ]* ~* M' J#m_comment div.item a.cnt:visited{color:#000000;text-decoration:none}4 ^# a- p" R. m
#m_comment div.item a.cnt:hover{color:#000000;text-decoration:underline}5 `4 V3 b* v" A/ E( z3 \0 D
#m_comment div.line{margin-top:5px;line-height:8px;border-top:1px solid #BDD5EF}
1 o5 Y# F( w8 ^3 ~: Z
+ h- m k0 a ]9 w+ h0 @0 v. P1 m( w7 l- Y) K% Z" s' e
#m_albumlist div.note{color:#000000;font-size:14px}$ @8 q0 `4 O3 ?1 _
#m_albumlist div.desc{margin-bottom:12px;padding:3px 10px 3px 10px;line-height:22px;background-color:#F2F2F2;font-size:14px}7 V0 d3 {1 s1 I
#m_albumlist div.none{padding:100px 0 100px 0;color:#000000;font-size:14px}, c+ z/ Q0 D* t
#m_albumlist div.line{margin-top:10px;line-height:16px;border-top:1px solid #BDD5EF}# z6 m5 t$ ~: \* W7 z
#m_albumlist div.tit{margin:6px 0 7px 0;color:#000000;font-size:14px}
8 v' y0 w% q L5 z4 x) s8 j#m_albumlist div.tit a{color:#196CCA;font-size:14px}# F% s( G2 u: d/ g4 @/ r- t$ `2 l8 R
#m_albumlist div.tit a:visited{color:#196CCA}- p3 ?) @; U. Y4 M, J5 K0 m
#m_albumlist span.count{color:#666666;font-size:12px;font-weight:bold}
3 _6 U9 _ ]- ?3 p0 z$ r#m_albumlist span.size{color:#999999;font-size:12px;font-family:Arial}
( C0 S7 v+ `' P9 n3 t9 \#m_albumlist a.act{color:#196CCA;font-size:12px}6 ]5 i/ @6 G& y) o1 Q
#m_albumlist a.act:visited{color:#196CCA}
$ y. U, E) z5 D' u#m_albumlist a.page{color:#0000CC;font-size:14px}
, X0 I: ]; i ]3 M- Z; ?1 I" M#m_albumlist a.page:visited{color:#0000CC}
, }7 D4 @7 V8 @" E8 }$ q0 D- \4 @#m_albumlist td.image{padding:5px;border:1px solid #999999;background:#FFFFFF}- V5 X* o2 a9 a
/ L$ n* x3 c/ o% V% ~# \7 N8 Y, H
) r( K, ?" u1 W0 c* Q' C#m_friend div.filter{margin-bottom:10px;padding-left:10px;padding-top:10px;height:27px;line-height:27px}
! t. B% U9 k* L4 y/ |( `0 q3 B#m_friend div.catalog{margin-bottom:10px;padding-left:10px;height:27px;line-height:27px;background-color:#F2F2F2;font-size:14px}
+ N! s, o+ v3 A$ D. k1 M( V#m_friend div.user{margin-top:4px;color:#000000;font-size:12px}
7 ?6 x1 a, `4 B; H1 H#m_friend div.user a{color:#196CCA;font-size:12px}
4 b k" M7 F y& A u#m_friend div.user a:visited{color:#196CCA}* }3 v2 o; }0 Y/ P4 V4 Q5 O
#m_friend div.line{margin-top:10px;line-height:16px;border-top:1px solid #BDD5EF}) ~: r1 Y- M- O9 s) P
/ u( N# L- n6 W. X0 T5 B
, {4 F* ]' Y3 M: |$ \
#m_setting a{color:#196CCA}4 \- j- x$ f" v! g; W
#m_setting a:visited{color:#196CCA}
1 x1 p) q' Z* Z6 h0 `) w#m_setting{line-height:22px;color:#000000;font-size:14px}
$ Y) l/ H# M: w0 L- O+ B- `( k) h#m_setting img.sel{border:4px solid #FFDB7B}6 x6 @! b4 V+ i% O' X6 l
#m_setting img.unsel{border:1px solid #D2D2D2}6 G" ^$ s+ U, U
#m_setting span.tit{font-size:14px}
% V! K2 k# t- M% A#m_setting span.usr{color:#666666}
$ E9 ], v, s) w#m_setting div.sel{padding-top:6px;font-size:14px;font-weight:bold}) G- E5 y" _7 s; g
#m_setting div.line{margin-top:20px;line-height:16px;border-top:1px solid #BDD5EF}
. F: Z5 g1 X) Y% n
; X/ h; X& X" n! b( {. | N8 W' ~( [8 ^3 f% y. R
#m_sysinfo a{color:#196CCA}
* r$ e L0 Z" H3 A$ H#m_sysinfo a:visited{color:#196CCA}+ _- V/ v3 O! u
#m_sysinfo{line-height:22px;color:#000000;font-size:14px}
5 K+ S5 }) m) s. B#m_sysinfo span.new{color:#FF0000;font-size:10px;font-family:Arial}: O8 Y5 Z! A+ U+ T6 y$ x" _& ?
#m_sysinfo span.date{color:#666666;font-size:14px}0 d0 v( h5 j/ l% ~
2 n# Q3 _' F6 g" ?$ o5 d# l
" O6 A6 H* F" c% z4 l0 R: D N#m_setbase{color:#000000;font-size:14px}; A& q& ]5 H( j7 [7 N# V
#m_setbase td{color:#000000;font-size:14px}+ y7 ]6 Q- ]& ?# e0 b2 Q7 Z5 B N
#m_setbase div.line{margin-top:5px;line-height:8px;border-top:1px solid #BDD5EF}/ Q( Z3 S* \, E) y, G
6 S% X& [ }3 s& F! r0 S' ]/ o b: j: ~# J: u: e2 l& m# E
#in_comment{width:710px}
4 L5 y( J; j2 F3 b#in_comment div.tit{margin-bottom:12px;color:#000000;font-size:14px;font-weight:bold}* g! s( }0 N) E$ o7 d/ X5 q- Z
#in_comment div.user{margin-bottom:6px;color:#000000;font-size:12px}- C* h) b7 Q* L1 R6 r
#in_comment div.user a{color:#196CCA;font-size:12px}
! O# N$ p+ p9 U9 g8 X; D2 W#in_comment div.user a:visited{color:#196CCA}
: D4 y' _# L: B$ Z#in_comment div.user span.date{color:#666666;font-size:12px}
8 m/ g) L. J; _: ~; Z* D) ?) u" a# U+ o#in_comment div.desc{color:#000000;font-size:12px}) z# D8 n, f/ N4 A
#in_comment div.line{margin-top:17px;line-height:17px;border-top:1px solid #BDD5EF}& T* U# B/ q( a! @" ]
6 v) s; x: g( I1 l
#in_send div.tit{margin:10px 0 10px 0;color:#000000;font-size:14px;font-weight:bold}9 S7 a: I8 O- W t' b+ ^4 }4 j
1 B* o+ } K, e" [+ g' N我該把廣告代碼插到什麼地方。% n E% U; R% q0 h
望各位指教。
/ B+ X+ H9 G# k2 w/ U2 K* W5 X$ i6 s. P7 s2 }
6 }% h/ t0 P9 Q5 S8 R6 e8 { Y8 D廣告代碼為:
9 x" u2 Q) v8 g' ~<script type="text/javascript"><!--: r9 j' `% A" S# z0 a
google_ad_client = "pub-7599494592862436";
, g4 ]/ M) N$ d# S3 u, ~# n7 sgoogle_ad_width = 728;4 m0 ~5 W' ?& X- W# l9 y' I, Z6 A( c
google_ad_height = 90;9 |! s5 [0 M* m$ y
google_ad_format = "728x90_as";+ g; t7 O7 ~/ S0 ^" I& r) Q) N
google_ad_type = "text_image";
1 O# _5 w' F( lgoogle_ad_channel ="";' N" h* Z$ L" z& m9 W/ s+ c
//--></script>* n1 y- w. f8 u6 y q8 u9 {
<script type="text/javascript"# t: u3 t! K9 Q$ ?
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">% S. U+ u" Q5 C% I/ W
</script> |
|