首頁 › IE7 CSS Hack
IE7 CSS Hack
換了新佈景,但對於CSS的position,Firefox和IE7仍有不同看法。(IE 6沒測試)所以找了IE 7 CSS Hack的方式。
/* 全部都有用 */ #h1{position: absolute; top: 0.15em;} /* Firefox 吃*/ html>body #h1{ top: 0.25em;} /* IE7 吃*/ *+html>body #h1{top: 0.34em;} /* IE6 and 7 都吃*/ #h1{*top: 0.34em;} /* IE6 吃*/ #h1{_top: 0.34em;}
如果有很多IE7專用的CSS,不妨就另寫一個css檔案,然後在網頁加入這樣的原始碼。
<!--[if IE 7]> <link 連結外部CSS語法> <![Endif]-->
- 人氣(2529)
Recent Comments
熱門內容
- Drupal | 用hook_menu_alter來修改tab項目 (192,717)
- 第一次玩弄Drupal就不上手 (183,812)
- 六個網站測速工具 (103,118)
- Drupal 的 Eye Candy? (71,129)
- Introduction to Drupal 簡報分享 (35,926)
找我聊聊
敲我MSN吧!
若我MSN下班,搞不好在這
或是在這













回應
Buildings are expensive and not everybody can buy it. However, loan was created to support different people in such cases.
OVjnUg chgbhgoeiqsn, [url=http://reapqvrmulzz.com/]reapqvrmulzz[/url], [link=http://xarnkzkfhavb.com/]xarnkzkfhavb[/link], http://bkdbedkcxrsu.com/
buy zolpidem tartrate with mastercard - purchase online no prescription generic ambien
xanax online no rx - order xanax online cheap
purchase klonopin - klonopin online order
overnight delivery buy ambien online - purchase ambien cost
xanax online no prescription vancouver - buy cheap xanax no prescription
klonopin online no prescription per pill - klonopin online prescription per pill
alprazolam online - buy xanax inexpensive
buy ambien no script - buy generic ambien
發表新回應