首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > CSS >

关于用CSS界别Firefox、IE6、IE7

2012-11-03 
关于用CSS区分Firefox、IE6、IE7? html head title关于用CSS区分Firefox、IE6、IE7/titlestyletype

关于用CSS区分Firefox、IE6、IE7

?

 <html> <head> <title>关于用CSS区分Firefox、IE6、IE7</title><style  type="text/css">#example{color:red ;}/*firefox*/ * html #example{color:blue;}/*ie6*/ *+html #example{color:green;}/*ie7*/</style> </head><body> <div id="example">在FireFox下应为红色,在IE6.0下应为蓝色,在IE7.0下应为绿色。</div></body> </html> 
?

?

热点排行