Home | Mirror | Search

第 8 章 CSS

目錄

1. 瀏覽器判斷
	
<style>
	html{filter:gray;}
	html{filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);}
</style>
	
	

1. 瀏覽器判斷

		
<!--[if IE 8]>
  <link rel="stylesheet" type="text/css" href="ie8.css">
<![endif]-->
<!--[if IE 7]>
  <link rel="stylesheet" type="text/css" href="ie7.css">
<![endif]-->
<!--[if IE 6]>
  <link rel="stylesheet" type="text/css" href="ie6.css">
<![endif]-->
		
		
		
<!--[if lt IE 7 ]><html class="ie6" lang="zh-cn"><![endif]-->
<!--[if IE 7 ]><html class="ie7" lang="zh-cn"><![endif]-->
<!--[if IE 8 ]><html class="ie8" lang="zh-cn"><![endif]-->
<!--[if IE 9 ]><html class="ie9" lang="zh-cn"><![endif]-->
		
		
comments powered by Disqus