自整理IE6,IE7,IE8,Firefox兼容方案。。。
生活随笔
收集整理的這篇文章主要介紹了
自整理IE6,IE7,IE8,Firefox兼容方案。。。
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
.hacktest {color:Red;} /*Firefox*/
*html .hacktest {color:green;}/*IE6*/
*+html .hacktest {color:blue;}/*IE7*/
.hacktest {color:brown\9;} /*IE8*/
?
強制讓IE8按IE7解析Css
<meta?http-equiv="X-UA-Compatible"?content="IE=EmulateIE7"?/>
?
長英文字母自動換行CSS
最佳CSS定義換行代碼
.wrap { table-layout:fixed; word-break: break-all; overflow:hidden; }?
這里 overflow:hidden;或者 auto;
總結
以上是生活随笔為你收集整理的自整理IE6,IE7,IE8,Firefox兼容方案。。。的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 简简单单
- 下一篇: 想起linux关机命令