請教各位,
8 w8 k6 H3 S% e) z
% V1 I0 Z& w( E' Y, i- u: r( y這樣一段html代碼4 \3 |, l" @" w B y4 {+ Z- Y
<head>
$ z5 b1 v6 n w0 Y1 ~* Y<title>Template</title>+ t+ `" a/ Z6 J3 f0 U, T0 E/ @
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
' H! L) @2 G9 }+ d" U6 ^<style type="text/css">- G% L! C# T# F+ U
<!--
: C! t# S/ }4 H) D% O# @: k/ W' ~; @.bodlite { font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF}3 G# _2 D& w; e; T7 K( s
.sub { font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #FFFFFF}
( J( u: m" D8 t.bod { font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 10px; color: #333333}% N6 A) W5 `- [5 M4 Q
.sub2 { font-family: Arial, Helvetica, sans-serif; font-size: 24px; font-weight: bold; color: #00CCFF}
0 n. B! }3 [1 L# X( o.submed { font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-weight: bold; color: #666666}- p* i/ @7 t) s
-->/ I5 d: [5 s8 j# x0 _
</style>1 ^/ F* }* Q/ w8 n1 U
</head>6 K4 c( g' Q. X0 E5 }' Y
+ p4 M+ u6 R Z6 \小弟把他搬到php中就會提示
$ D4 J2 ^5 p5 s# r: h0 v<!--
. U) X# j( y N6 W2 X' y. ~.bodlite { font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF}
# x) n9 B9 C% N8 p, b2 B! U.sub { font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #FFFFFF}
. A. n4 r- q r4 c, c.bod { font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 10px; color: #333333}
" s8 J% `9 Z4 z: E3 B: Y O.sub2 { font-family: Arial, Helvetica, sans-serif; font-size: 24px; font-weight: bold; color: #00CCFF}
. F- I7 K8 V# j" `: `; i1 W+ J.submed { font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-weight: bold; color: #666666}
! D# M s. c6 O; p' @. o-->/ o$ w6 @! z/ q B
這段出現致命錯誤,請問在PHP中應該採用什麼格式呢?4 s, j" f3 H V$ i$ R; x
謝謝大家了! |
|