我在www.hi.baidu.com申請了一個bolg3 J# Y Z. v8 ~, l
想把google的廣告插到頁面裡,但自己對這方面知識少,無法做到。! m: r# u$ J5 {# l- I! ~5 t
特來問問各位高手該如何做。。。
* D! E0 d- J' [- x: ?8 M' F5 m/ d( E% [. _! `- K6 ]
編輯CSS自定義模板:. s$ u" n8 U& Y; s
body{background:url(http://img.baidu.com/hi/temp16/bg.jpg) #F2F7FE}
; k# p8 z% ?7 O) t7 \& f5 _) U
" C+ I2 u" k9 S3 Z* _
0 h6 f5 r ?! K#header{height:89px;background:url(http://img.baidu.com/hi/temp16/hdbg.gif) repeat-x #E1F0F9}
+ V/ @5 D7 a3 d* X#header div.lc{background:url(http://img.baidu.com/hi/temp16/hdl.gif) no-repeat}* G0 I* X: N& T0 Z& _9 N0 Z) I
#header div.rc{background:url(http://img.baidu.com/hi/temp16/hdr.jpg) no-repeat top right}4 H% w7 D/ l% `! V
#header div.tit{top:8px;left:20px;line-height:22px;font-size:20px;font-family:黑體}
+ S9 q8 L7 c' k5 j. C8 s#header div.tit a.titlink{color:#4E81B4;text-decoration:none}4 M* C# [3 B( L
#header div.tit a.titlink:visited{color:#4E81B4;text-decoration:none}
W! h' I1 J9 \+ b0 y+ m#header div.desc{top:33px;left:20px;color:#4E81B4;font-size:13px}
1 F& Z' h# a* V" u) s8 U#tabline{top:89px;background:#A1B6CE}* M' O7 Q* y/ Q6 V3 @
#tab{top:67px;background:#758DA1}9 s* K8 ]7 A1 T
#tab a.on,#tab a.on:link,#taba.on:visited{margin-top:3px;line-height:19px;background-color:#A1B6CE;color:#FFFFFF;font-size:14px}
0 M9 a6 [% \% `" p#tab span{color:#FFFFFF;font-size:14px}6 y. b6 R, e+ y1 I, ?# d
#tab a:link{color:#FFFFFF;text-decoration:none;font-size:14px}
* Q7 L0 }! B/ a! W# t$ m3 T#tab a:visited{color:#FFFFFF;text-decoration:none;font-size:14px}
$ ]; x5 g2 S. u# h#tab2{background:#DAE9F5}
: ~/ ^4 y5 v+ e; s#tab2 span{color:#000000;font-size:12px;font-weight:bold}
3 ?3 h& s0 g6 I' d; C2 N" ^#tab2 a{font-size:12px}
6 J& b2 y- ^! ^& m% _; q1 z#tab2 a:link{color:#0000CC}3 [1 M" L4 a0 u9 ?8 U% r r7 v
#tab2 a:visited{color:#0000CC}
7 w* X6 z: j2 g) @+ R8 A. s
5 q \$ K0 _. J2 Z% b( C# r' }7 z+ [& j! J
.stage{}) G/ ^0 A) [& t* ]$ Z: j" i/ w, F
) k/ w6 Q' C& ^3 @( O. R( U. ~% J3 R# F% ^
#header div.lc{background:url(http://img.baidu.com/hi/temp16/hdl.gif) no-repeat}
: c& r, T. b5 ^8 T* R6 A M#header div.rc{background:url(http://img.baidu.com/hi/temp16/hdr.jpg) no-repeat top right}
+ t$ `4 ], E) P#header div.tit{top:8px;left:20px;line-height:22px;font-size:20px;font-family:黑體}
9 l& T- j7 Y+ a' r: @#header div.tit a.titlink{color:#4E81B4;text-decoration:none}
2 \) a4 U6 m$ O/ Q C#header div.tit a.titlink:visited{color:#4E81B4;text-decoration:none}
) n& `. {, A: Y#header div.desc{top:33px;left:20px;color:#4E81B4;font-size:13px}
5 A* m2 O9 \1 S4 h4 g: H5 T. P3 @#tabline{top:89px;background:#A1B6CE}
; X7 J1 n s6 L+ |( \) C#tab{top:67px;background:#758DA1}
2 x! @* W. j" R% t, S3 k1 S1 |#tab a.on,#tab a.on:link,#taba.on:visited{margin-top:3px;line-height:19px;background-color:#A1B6CE;color:#FFFFFF;font-size:14px}
# ]" J9 Z+ N/ Z#tab span{color:#FFFFFF;font-size:14px}, B4 l, [) O; v9 J
#tab a:link{color:#FFFFFF;text-decoration:none;font-size:14px}
8 O- n: k: R4 ` s& C2 u#tab a:visited{color:#FFFFFF;text-decoration:none;font-size:14px}
/ {; J! v/ [+ I* D% N& {9 M4 e7 q#tab2{background:#DAE9F5}1 s* O G! [6 [3 a( g- U; I
#tab2 span{color:#000000;font-size:12px;font-weight:bold}
$ {$ K- s- P: L#tab2 a{font-size:12px}
! ]/ B, ~+ d3 A#tab2 a:link{color:#0000CC}
* X6 i# V2 A8 M+ l#tab2 a:visited{color:#0000CC}
, l, J. U: k) |6 Q* G4 R6 a9 ^4 C( G4 w2 U5 z
9 V& U" P8 j( M( n.stage{}
+ k/ b/ y' n' q L% I( @! L _5 D+ ~
, O% V) o$ H8 L4 I( i
#comm_info{ccolor:#000000;font-family:Arial;text-align:left}! E2 O$ G, H5 n2 O- X
#comm_info div.line{margin-top:5px;line-height:8px;border-top:1px solid #BDD5EF}) Z9 o$ U( P, V# X$ d" M
#comm_info a{color:#196CCA}
0 _, z% D8 M) J4 S* D8 ?5 J+ O+ x3 K9 L) e' K3 U
+ a- b! W# M! F#page{height:30px;font-size:14px;font-family:Arial;text-align:center}
3 o; n& p$ V$ [# ^2 c6 X7 v& ? w#page span{padding:3px;color:#000000;font-size:14px;font-weight:bold}( U1 T# C4 b9 Z5 o% b9 D& n
#page a.pc{color:#196CCA;font-size:14px;font-weight:bold}/ m* J1 u: J! m) [+ M: f
#page a.pc:visited{color:#196CCA}# I3 d7 N' ^4 b% ~0 Y
#page a.pi{padding:3px;color:#196CCA;font-size:14px}% @" A! f' _* j+ u7 m: v: }7 q
#page a.pi:visited{color:#196CCA}
# ^, s$ @+ `, G1 }5 L4 v, {5 ~* M' Q
- ]' @# M; k8 v: P* x* [2 b3 c6 A" m.mod{margin-bottom:10px}% f6 b' M% V, ~& S2 V e
.modhandle{cursor:move}+ U! ]. Q' |' F) g1 C- i2 }
.modth{height:24px}- Y& u9 g. O+ k6 K/ r9 L0 `$ b, S" X
.modhead{padding:4px 4px 0 4px}
5 \+ C% {4 h! p.modopt{padding:4px 4px 0 0}
+ b- M9 l( n, b9 L.modtit{color:#000000;font-size:12px;font-weight:bold}a.modtit{color:#000000}a.modtit:visited{color:#000000}
7 z* q! B5 D' h# G5 w.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}
) }. F+ O' m/ J.modact{color:#000000;font-size:12px}a.modact:link{color:#000000}a.modact:visited{color:#000000}4 _ i3 C2 O( A9 h% U8 C( H% @3 o
.modbox{padding:10px 10px 0 10px;background:#EBF2F9;border-left:1px solid #A6BCD3;border-right:1px solid #A6BCD3}! K; Y5 e) R) Y. a9 l6 q$ S M) s( \. n) C
.modtl{background:url(http://img.baidu.com/hi/temp16/ptitl.gif) no-repeat top left;line-height:1px}
$ B4 ~! p% N& D5 A.modtc{background:url(http://img.baidu.com/hi/temp16/ptitc.gif) repeat-x}% C) _. i V- O, u2 }) a$ M
.modtr{background:url(http://img.baidu.com/hi/temp16/ptitr.gif) no-repeat top right;line-height:1px}+ n; N- j" a; |! z
.modbl{background-color:#EBF2F9;border-left:1px solid #A6BCD3;border-bottom:1px solid #A6BCD3;line-height:1px}1 B& S `$ M) T: }; [; R
.modbc{background-color:#EBF2F9;border-bottom:1px solid #A6BCD3;line-height:1px}
0 z6 J" E2 @: S* j6 S! `$ j.modbr{background-color:#EBF2F9;border-right:1px solid #A6BCD3;border-bottom:1px solid #A6BCD3;line-height:1px}
/ m9 E2 |& F/ R4 k* `7 [.modbox,.modbl,.modbc,.modbr{filter:alpha(opacity=80);-moz-opacity:0.8;width:auto !important;width:100%}
% B9 v- g" i$ {4 D3 p
- f. s/ y3 Z4 M4 p- G3 o6 b$ O; m: v% q# r; D: y5 R' F
#m_blog div.tit{font-size:14px;font-weight:bold}$ |; i# ~ I( N
#m_blog div.tit a{color:#000000;font-size:14px;font-weight:bold}7 A3 j" I( V* a8 [
#m_blog div.tit a:visited{color:#000000}7 g1 x$ r) C7 M' Q1 S" Q
#m_blog div.date{margin:5px 0 8px 0;color:#666666}3 Z/ z' ?& {$ k& n
#m_blog div.cnt{color:#000000;line-height:20px;font-size:14px}
) q; b$ F. c0 }#m_blog div.more{margin:14px 0 16px 0}" ~' G" J3 r7 q3 ~! W
#m_blog div.more a{color:#196CCA;font-size:14px}9 ]% A& a; K4 G. @$ D) b& Z
#m_blog div.more a:visited{color:#196CCA}
. _/ ~' j1 H6 I#m_blog div.opt{color:#666666;font-size:12px}
) X3 Z8 W2 `4 }/ O+ Y#m_blog div.opt a{color:#196CCA;font-size:12px}
3 S9 B1 Q) d2 o# ?5 Y+ Q4 @#m_blog div.opt a:visited{color:#196CCA}
7 y0 @- g( L9 v/ ^7 K; @#m_blog div.line{margin-top:17px;line-height:17px;border-top:1px solid #BDD5EF}. ]5 d# `# y0 P
#m_blog div.none{padding:100px 0 100px 0;color:#000000;font-size:14px}
+ v( ~9 Q& j4 V( z u9 `! a! e0 v0 Z2 h% S4 Z% c
" g, d. G- d" c; _0 t% B" a
#m_pro a{color:#196CCA}
" t5 l; G6 D6 H: s#m_pro a:visited{color:#196CCA}
' S1 \5 N$ F( `" Z/ \' D* g#m_pro div.image{text-align:center}, z/ z/ |. }8 j2 a. i$ o3 W
#m_pro div.act{margin-top:10px}
/ M; a0 ~# D' F! D& r% i#m_pro div.user{margin-top:10px;color:#000000;font-size:12px;font-weight:bold}
" d! j6 U# `: A& B( _* F#m_pro div.desc{color:#000000;font-size:12px}
4 _8 X' ~, {$ H#m_pro div.line{margin-top:17px;line-height:17px;border-top:1px solid #BDD5EF}
' z- U- E% w6 o D, S3 R( m5 b#m_pro td{color:#000000;line-height:24px;font-size:14px}' x8 I- D$ t1 B% d- f1 F7 T
& J" [! \' D' w#m_album div.image{text-align:center}
0 t3 J, o: q! a" _) v/ r5 X#m_album div.page{color:#666666;font-size:12px;text-align:center}
1 R4 |3 M" ]; m# r Z* l$ Q1 e#m_album div.page a{color:#0000CC;font-size:12px}
# I0 z; n( i& O$ c# a$ y1 @8 i) M#m_album div.page a:visited{color:#0000CC}
3 ?/ j* ]# X* x R4 B% x7 g5 R$ f1 h) h5 y( q7 D
#m_links div.item{color:#000000;font-size:12px}% ^$ H2 [7 H! `' ?
#m_links div.item a{color:#196CCA;font-size:12px;text-decoration:none}
7 O) W6 P9 Y8 h9 l# _$ Z- m J#m_links div.item a:visited{color:#196CCA}
9 H X7 p: h2 i- T8 E#m_links div.line{margin-top:5px;line-height:8px;border-top:1px solid #BDD5EF}4 \) v4 a0 R4 \ Z$ A) v+ _
0 u! k9 j3 Q" O! p4 z
4 o9 b$ r1 N, B; c8 o#m_artclg div.item{color:#666666;font-size:12px}+ j' H1 h! b4 v6 d" N$ t; ?
#m_artclg div.item a{color:#196CCA;font-size:12px}
5 p+ Y( x2 u5 }# s+ N) x#m_artclg div.item a:visited{color:#196CCA}
! Q5 b/ J2 F j) X#m_artclg div.line{margin-top:5px;line-height:8px;border-top:1px solid #BDD5EF}
1 R$ e4 [/ h& _0 G0 R" v
& r' w0 I2 R2 X# O v- a8 ^2 Z" z
( A9 i2 o8 U( W% V#m_comment div.item{color:#000000;font-size:12px}
# l( N& r M# \- u#m_comment div.item a{color:#196CCA;font-size:12px}% k" ]/ n$ g2 @: g. h
#m_comment div.item a:visited{color:#196CCA}* b. r% L* y' v+ \* O2 B& Z
#m_comment div.item a.cnt{color:#000000;font-size:12px;text-decoration:none}
- l! r o' x% _$ w#m_comment div.item a.cnt:visited{color:#000000;text-decoration:none}; z, E O# M- {+ N7 _
#m_comment div.item a.cnt:hover{color:#000000;text-decoration:underline}! u; K* n& r& V# u d8 S
#m_comment div.line{margin-top:5px;line-height:8px;border-top:1px solid #BDD5EF}
0 D/ u9 V3 Q# ~( n$ n/ u @9 f0 ]0 n& U1 B
! D/ V$ n) J. w& t
#m_albumlist div.note{color:#000000;font-size:14px}: G" E$ l8 A; V. t) y
#m_albumlist div.desc{margin-bottom:12px;padding:3px 10px 3px 10px;line-height:22px;background-color:#F2F2F2;font-size:14px}2 [" w2 M t: R' b7 I g0 F( r
#m_albumlist div.none{padding:100px 0 100px 0;color:#000000;font-size:14px}7 F' m) E6 q+ N$ Q
#m_albumlist div.line{margin-top:10px;line-height:16px;border-top:1px solid #BDD5EF}% v% Q6 r) w+ F: X) Y3 b2 n
#m_albumlist div.tit{margin:6px 0 7px 0;color:#000000;font-size:14px}4 i3 O4 M. U# D" ^% D5 r- P
#m_albumlist div.tit a{color:#196CCA;font-size:14px}7 U# A8 e( Z& x# ]
#m_albumlist div.tit a:visited{color:#196CCA}
+ M' w4 y6 z8 u$ x" I O" J, K#m_albumlist span.count{color:#666666;font-size:12px;font-weight:bold}
6 H) ]' |! F) Y3 f2 V: k# I1 R! Q#m_albumlist span.size{color:#999999;font-size:12px;font-family:Arial}
- n5 w( a4 V' M1 P3 O n#m_albumlist a.act{color:#196CCA;font-size:12px}4 I: k, N0 K3 |' Q& h' w
#m_albumlist a.act:visited{color:#196CCA}
* j2 b) |7 T: e: b#m_albumlist a.page{color:#0000CC;font-size:14px}
" D* D3 a$ F' y2 H#m_albumlist a.page:visited{color:#0000CC}9 v ~$ K1 a: P0 k3 a/ ^
#m_albumlist td.image{padding:5px;border:1px solid #999999;background:#FFFFFF}
& z8 k; K$ i8 q$ w) n- A* X& U. |( r2 m+ c6 c0 t& `
" V0 V) E+ F6 \7 J#m_friend div.filter{margin-bottom:10px;padding-left:10px;padding-top:10px;height:27px;line-height:27px}
, U8 [ b8 h' R8 q3 P8 U#m_friend div.catalog{margin-bottom:10px;padding-left:10px;height:27px;line-height:27px;background-color:#F2F2F2;font-size:14px}3 A) c& t: o' l6 k$ i
#m_friend div.user{margin-top:4px;color:#000000;font-size:12px}: @2 j( n, ]+ j: Z. B% I, k& G5 a
#m_friend div.user a{color:#196CCA;font-size:12px}
* L! x6 g9 e7 B4 i#m_friend div.user a:visited{color:#196CCA}
7 V+ T. x7 f" N+ _: H#m_friend div.line{margin-top:10px;line-height:16px;border-top:1px solid #BDD5EF}
A) H! L7 m$ b1 r0 Q
. N: y# B6 m. O3 F, e* J. t" [
* Y: g5 S1 r5 ~3 q- S#m_setting a{color:#196CCA}
4 N; k4 T9 F+ n4 j& i2 J/ s#m_setting a:visited{color:#196CCA}
1 J) V7 ?: ~6 ]0 d9 O# T- H+ F#m_setting{line-height:22px;color:#000000;font-size:14px}- n3 ~9 U; f- J) n( q9 |# }5 w
#m_setting img.sel{border:4px solid #FFDB7B}: u- f ~% }5 M
#m_setting img.unsel{border:1px solid #D2D2D2}( t# ~; I& v7 Q- c: Y( ]3 G; y
#m_setting span.tit{font-size:14px}; U1 e* v5 q- R
#m_setting span.usr{color:#666666}
2 W' A. E b4 C4 {#m_setting div.sel{padding-top:6px;font-size:14px;font-weight:bold}
: S* e- d6 J' r4 @#m_setting div.line{margin-top:20px;line-height:16px;border-top:1px solid #BDD5EF}. |% A' ~. H p" \
& i: [) `1 p& _3 [% f! s
! T& i2 s6 [9 Z) j- B1 Q6 U#m_sysinfo a{color:#196CCA}9 J. F3 F: q- V% F& ]
#m_sysinfo a:visited{color:#196CCA}% _8 N" D, Q4 N9 D' }" `3 _6 T) T
#m_sysinfo{line-height:22px;color:#000000;font-size:14px}7 r+ I$ E" R, ` z
#m_sysinfo span.new{color:#FF0000;font-size:10px;font-family:Arial}3 |/ A0 S4 U/ U# c
#m_sysinfo span.date{color:#666666;font-size:14px}2 o' m; \( |8 ]% c
# d, F, j/ K6 x3 K+ i4 v9 W% I* u( W- J1 g# z
#m_setbase{color:#000000;font-size:14px}- E$ W6 l. |0 G# ~2 Q9 |$ a& z& ]
#m_setbase td{color:#000000;font-size:14px}
4 z4 G4 R2 @/ E3 u$ Y#m_setbase div.line{margin-top:5px;line-height:8px;border-top:1px solid #BDD5EF}
/ K- c0 T, P+ H6 i
! u5 f% ?) \) B+ { u2 A- `
6 W7 }& t/ U, O* V2 F#in_comment{width:710px}$ O g. \2 @. Z- V
#in_comment div.tit{margin-bottom:12px;color:#000000;font-size:14px;font-weight:bold}
9 J3 e5 v {. a! u$ a#in_comment div.user{margin-bottom:6px;color:#000000;font-size:12px}
. i8 y, {& ]6 X' V" @#in_comment div.user a{color:#196CCA;font-size:12px}
|; O7 G: H( X8 y# H. \#in_comment div.user a:visited{color:#196CCA}) S$ _ m- z: K t
#in_comment div.user span.date{color:#666666;font-size:12px}
, r9 u B9 p/ R- l7 V& u+ O8 }#in_comment div.desc{color:#000000;font-size:12px}# E' p, i" r- \5 [0 c
#in_comment div.line{margin-top:17px;line-height:17px;border-top:1px solid #BDD5EF}9 w e" V) V. F
2 [' l9 M$ j6 K. V6 M" [+ F5 ^" K
#in_send div.tit{margin:10px 0 10px 0;color:#000000;font-size:14px;font-weight:bold}
; O- k4 x# }" @8 B
l) X; k! T3 z- ^我該把廣告代碼插到什麼地方。
/ Q% H4 _* B* k; L8 M望各位指教。
) H( u9 g" u2 ]6 s: \) ]% T) q% W2 g+ m# \' v0 P' W0 `
; Y( f3 q. Y" y% Y
廣告代碼為:
2 E h1 |/ n( u9 W<script type="text/javascript"><!--9 k2 l# x2 ?) H/ y& i
google_ad_client = "pub-7599494592862436";
/ s# ?: [1 A- U: i( ~* {2 N Ggoogle_ad_width = 728;
' C, b1 i6 O* x/ t/ [google_ad_height = 90;
! @1 C: V2 e8 ?+ w9 W5 u: Igoogle_ad_format = "728x90_as";* i/ Z$ X2 s( t
google_ad_type = "text_image";
; W% V3 y C7 R0 c! _0 X9 dgoogle_ad_channel ="";
' ?5 C4 X) L l- l0 m% @//--></script># r# \- ^% q5 X3 a4 v3 X9 z! H$ z
<script type="text/javascript"
3 {2 P% g5 U4 x7 R+ X2 h src="http://pagead2.googlesyndication.com/pagead/show_ads.js">4 {% w( w( C$ G Z6 M
</script> |
|