网页设计中浏览器兼容性解决方案
一、 Comments 区别IE和w3c的方法 .hack { width:600px; *width:700px; }
二、 区别 IE5.5、IE6、IE7、w3c的方法 .qq{
background:#f00;
*background:#00f!important; _background:#0f0; _background :#ccc }
三、 针对Opera、Safari 、Chrome .qq {
background: #000; }
@media all and (min-width:0px){ .qq { background: #000; } }
四、 实现文本自动换行 1. IE中解决方法
2016 1 / 3
精品文档
word-wrap:break-word; word-break:break-all;
注:在要换行的内容相应的单元格或者DIV里加入,如: 或
. FireFox中解决方法(脚本):
人生最终的价值在于觉醒和思考的能力,而不只在于生存。2016
2 / 3
精品文档
0 00 00
感 谢
2016阅 读! 3 / 3
因篇幅问题不能全部显示,请点此查看更多更全内容