|
|

楼主 |
发表于 2013-7-12 12:33:07
|
显示全部楼层
河小马 发表于 2013-7-12 11:53 
5 }: E: h. c1 \$ Y( W最好是in line css! _; ~$ z' w, b) J
% I( x, }# @: b2 fexternal css 也是支持的 , O/ B5 b1 }& z+ i7 R
我是把一个页面上的样式写成了这样,按照官方的说法是.内部样式表(Internal Style Sheet).+ I$ A, R$ F1 h0 N" y: N
没打算用 external css,那样风险太高.谢河马大大.- body[yahoo] .distance-2 {height:20px !important;}+ C9 c+ }. g+ S' a. Y0 R
- body[yahoo] .hideable {display:none !important;}
" ?. S1 J) |# ~* f4 w7 {" r( C) M - / ~1 p" o- _. \( T- f
- /* Hideable Icon Image */2 a7 r+ V) e5 H* p, [
- body[yahoo] .hideable-icon {display:none !important;}5 g- l: t1 |2 r7 E' U) m9 w+ H' ? r
- body[yahoo] .text-icon {width:320px !important;}" G2 d* Z7 m) ^/ v
- $ l5 _: a- u2 o5 K
- /* End of Media Queries */+ C! X1 b& ]: C; ?* K
- 6 V6 j$ j M) W8 g! h \
- </style>2 B- w$ b* y, w- X0 H8 K5 i
- ( Q2 B! C8 y0 U. N" l! E
# G9 V i$ b% H! ?3 d; H7 W- m- <!-- * Header Module * --># f# m, n) V6 f$ ~
- <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%">% i5 k! _* @/ E7 Q
- <tbody><tr>
W4 [. b$ y6 v7 ^3 S, K1 m - <td bgcolor="#f8f8f8">
: B: ~+ X$ D0 s* l8 N - <!-- Tables Width -->
7 V# c9 c/ [. }; q# W' C# A& q - <table class="table" align="center" border="0" cellpadding="0" cellspacing="0" width="600"> $ n1 w* P" s* }* V; e
- 4 G: S- l$ \" n$ ~, d9 I
- <!-- Top Header
复制代码 |
|