|

楼主 |
发表于 2013-7-12 12:33:07
|
显示全部楼层
河小马 发表于 2013-7-12 11:53 
+ y& z Y b# W% m最好是in line css
3 Y& m! V6 n. G6 B: ~5 X
7 k( n( h; q& z9 T3 rexternal css 也是支持的 : c* ^8 s/ r# q: A8 z+ p
我是把一个页面上的样式写成了这样,按照官方的说法是.内部样式表(Internal Style Sheet).
% G/ y! J) @" ?没打算用 external css,那样风险太高.谢河马大大.- body[yahoo] .distance-2 {height:20px !important;}
7 `% K6 N/ ]# @' u/ ~) U4 w - body[yahoo] .hideable {display:none !important;}/ T* l# b5 A: j, x
- 9 s, p% f, D% u$ x5 f
- /* Hideable Icon Image */2 P- g7 s6 d7 {
- body[yahoo] .hideable-icon {display:none !important;}' _. I: M8 o2 k, }$ H
- body[yahoo] .text-icon {width:320px !important;}7 B$ o8 V0 l1 j" j) T5 c% n% L3 {
-
$ y. Z6 n7 k1 S& d/ z: ?6 m4 Z5 W$ M - /* End of Media Queries */- ?% G2 V0 U/ W0 a$ C; J
-
3 M8 ^+ i/ z5 E& x% F - </style>* @$ O0 N% z' G0 Y2 f
- 4 [$ _3 ^$ V- }3 g% \+ Y% j
- $ c" F5 l" {' s$ V( ]* \
- <!-- * Header Module * -->; @2 f+ g: u) N+ h& m
- <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%">
?; m+ i2 @9 P6 V. A" Q - <tbody><tr>
; O4 ]$ W+ L m A9 x8 |( w - <td bgcolor="#f8f8f8">
) g0 r, x# A, D$ T' M N( G4 O - <!-- Tables Width -->% ?. x& J8 U5 G( V) I0 i& K. Y) K
- <table class="table" align="center" border="0" cellpadding="0" cellspacing="0" width="600">
: {' L3 h0 F. I# K& |8 m: q - 5 \; R, N$ o6 [ A, u) w h
- <!-- Top Header
复制代码 |
|