請教各位,8 s; l& L9 C: D4 ?
3 U2 d1 V# S, D這樣一段html代碼+ j' z& M8 R; V8 V3 t1 ]+ `
<head>9 W4 g8 v3 I Q
<title>Template</title>; }0 ]/ a! m: o8 n9 A
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
o: I" t( D# _7 E0 M6 ^<style type="text/css">
6 V% P& s* G3 w; D1 c5 T: d<!--
. L- W; @4 O* t.bodlite { font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF}
2 Q3 C0 [0 O$ h2 |7 \% z4 K8 o; Q/ E5 W.sub { font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #FFFFFF}* \$ E8 K/ N9 }8 ]
.bod { font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 10px; color: #333333}
3 @. C+ @4 K0 d7 G7 L.sub2 { font-family: Arial, Helvetica, sans-serif; font-size: 24px; font-weight: bold; color: #00CCFF}! Q+ ?6 k# v( o# Z
.submed { font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-weight: bold; color: #666666}
- i2 [4 _$ f4 q2 \$ P3 j-->
/ v, ?# `6 k7 P; S$ l</style>2 v( Z" y" x% Y$ L
</head>
3 F; W, ^! p% s( ^, J( f' f
2 a& r& _6 E" M) c0 G% S; w+ m小弟把他搬到php中就會提示
0 C7 I) F: T" N6 z" d9 A; K<!--+ K4 h: N, T; y! m
.bodlite { font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF}
' A$ }' B( v5 W, x" ^.sub { font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #FFFFFF}
& ?& |; ?) B7 G, C+ N6 g- p; u.bod { font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 10px; color: #333333}
5 ^2 o* |* r0 j7 |: ^7 r.sub2 { font-family: Arial, Helvetica, sans-serif; font-size: 24px; font-weight: bold; color: #00CCFF}* Q4 S5 u0 {8 a, l& Q( Z# P
.submed { font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-weight: bold; color: #666666}0 ~) s# q: g' D( f: G8 n- v/ M8 z
-->
. m: g+ x, q( s4 Q) b8 P+ o# D這段出現致命錯誤,請問在PHP中應該採用什麼格式呢?# ^6 M, x5 ^ [* `) v
謝謝大家了! |
|