|
楼主 |
发表于 2013-7-12 12:33:07
|
显示全部楼层
河小马 发表于 2013-7-12 11:53 9 l3 o1 `& |7 A1 [6 W# q
最好是in line css
# @: c' R$ R, E2 U4 f# ^' \" ]6 M9 q9 k% ^
external css 也是支持的 * w* e5 f! K6 q0 a3 `# H0 a
我是把一个页面上的样式写成了这样,按照官方的说法是.内部样式表(Internal Style Sheet).
& A7 p* V" I/ h, y4 i( @" n没打算用 external css,那样风险太高.谢河马大大.- body[yahoo] .distance-2 {height:20px !important;}, n j4 O: x1 c9 y" N1 z3 Z* q% }7 M
- body[yahoo] .hideable {display:none !important;}
- S/ U9 b3 Q' o6 M! p1 U -
0 }, |% A: h3 i7 l& Q) j7 U - /* Hideable Icon Image */8 S+ i+ p, H7 E8 [) @
- body[yahoo] .hideable-icon {display:none !important;}2 U: o. r/ J [7 |/ n& I- W, q& I
- body[yahoo] .text-icon {width:320px !important;}/ Z& U' u1 h2 w5 F# N- n: Z' J
-
2 n' N0 i, a# d3 ^ - /* End of Media Queries */
, M2 Q0 M1 U( \9 N1 k' R -
; @$ W. |1 x% l) P" g# i7 [2 b - </style>7 C+ z5 x+ K% d5 c
- 2 z {( ^$ R6 t$ f
- / q F3 D: D( ?& s3 O7 j' `
- <!-- * Header Module * -->+ `+ P5 V0 _6 X& t
- <table style="width:100% !important; margin:0; padding:0; border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;" align="center" border="0" cellpadding="0" cellspacing="0" width="100%">6 T6 j4 N+ q2 F0 A6 y
- <tbody><tr>
5 w* G% q [7 L7 ~ m - <td bgcolor="#f8f8f8"> + ?" o3 p- _( k; l1 k( p
- <!-- Tables Width -->
, A; [) x& P' D+ g - <table class="table" align="center" border="0" cellpadding="0" cellspacing="0" width="600"> : n2 z0 H( J. _! @' u
- , A3 e' O1 D3 @ y1 x
- <!-- Top Header
复制代码 |
|