請教各位,# L$ `5 Y# ]6 ?! s* o
; k) v. ~. t6 I2 D2 n+ D
這樣一段html代碼% P8 {) d7 t: n% ^% v
<head>
$ J7 [9 W) y) | r* _: `<title>Template</title>
6 f, P/ m0 j( {: G8 P) a<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
% h; F, _; F3 ~ R2 o0 J<style type="text/css">+ |' X3 Y0 Y2 P ^) q1 w6 Y
<!--
5 `& S0 f$ `3 \+ r.bodlite { font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF}
: \& W, X. l& r.sub { font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #FFFFFF}
5 H1 D+ E1 n9 Z! M.bod { font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 10px; color: #333333}1 p, B7 [2 J+ n$ i
.sub2 { font-family: Arial, Helvetica, sans-serif; font-size: 24px; font-weight: bold; color: #00CCFF}
) o5 C/ J. _8 e# D. {$ C! N.submed { font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-weight: bold; color: #666666}
. n- |6 x( x( c; z9 U+ f1 J-->
& ?$ B- y: i, O</style>6 V" q/ G) |* j O
</head>
5 @5 l# O* t' D, r3 M: [7 f& c
/ o0 k$ d8 ~' H% ?3 C6 c& I* d+ C( V. A小弟把他搬到php中就會提示* a9 X! V; j; Q0 p. V0 e* O
<!--4 \2 I9 r4 R) [6 g
.bodlite { font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF} k b2 z7 k7 t3 c
.sub { font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #FFFFFF}
9 E+ N; b! C, n4 T& }1 q.bod { font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 10px; color: #333333}* |3 x2 G T h
.sub2 { font-family: Arial, Helvetica, sans-serif; font-size: 24px; font-weight: bold; color: #00CCFF}1 Q8 R3 [: l) M* T: [8 p, u/ |' O4 u
.submed { font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-weight: bold; color: #666666}8 L7 ]5 ?5 Q$ O+ ?0 B- d
-->
4 ~6 H p( z6 R5 U7 z! p) D9 M2 f這段出現致命錯誤,請問在PHP中應該採用什麼格式呢?2 h: K; ?- [- C% d, h3 _
謝謝大家了! |
|