div+css网页兼容性问题的收藏
时间:2008-07-21 来源:songduanlei
IE6,IE7,FF等浏览器不兼容原因及解决办法
第一种:
.div {
background:orange;/*ff*/
*background:green !important;/*ie7*/
*background:blue; /*ie6*/
}
第二种:
.div {
margin:10px;/*ff*/
*margin:15px;/*ie7*/
_margin:15px;/*ie6*/
}
第三种:
#div { color: #333; } /* ff */
* html #div { color: #666; } /* IE6 */
*+html #div { color: #999; } /* IE7 */
个人整理的FF、IE的最基本的CSS兼容技巧
兼容Ie6,Ie7,Firefox的办法XHTML+CSS兼容性解决方案小集
一些css有关处理浏览器兼容问题上的小技巧
菜鸟瞬间入门复杂div+css布局,抛弃float![兼容IE6,IE7,FireFox
第一种:
.div {
background:orange;/*ff*/
*background:green !important;/*ie7*/
*background:blue; /*ie6*/
}
第二种:
.div {
margin:10px;/*ff*/
*margin:15px;/*ie7*/
_margin:15px;/*ie6*/
}
第三种:
#div { color: #333; } /* ff */
* html #div { color: #666; } /* IE6 */
*+html #div { color: #999; } /* IE7 */
个人整理的FF、IE的最基本的CSS兼容技巧
兼容Ie6,Ie7,Firefox的办法XHTML+CSS兼容性解决方案小集
一些css有关处理浏览器兼容问题上的小技巧
菜鸟瞬间入门复杂div+css布局,抛弃float![兼容IE6,IE7,FireFox
相关阅读 更多 +