HTML Wordpress:IE条件评论

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了HTML Wordpress:IE条件评论相关的知识,希望对你有一定的参考价值。

<!--[if IE 6]>
	<link rel="stylesheet" type="text/css" media="screen" href="<?php echo get_bloginfo('template_directory'); ?>/css/ie6.css" />
	<![endif]-->
	<!--[if IE 7]>
	<link rel="stylesheet" type="text/css" media="screen" href="<?php echo get_bloginfo('template_directory'); ?>/css/ie7.css" />
	<![endif]-->

HTML IE条件评论

<!--[if IE]>
	IE Conditional Comment: Internet Explorer
<![endif]-->


<!--[if !IE]><!-->
	IE Conditional Comment: NOT Internet Explorer
<!-- <![endif]-->


<!--[if IE 5.0]>
	IE Conditional Comment: Internet Explorer 5.0 only
<![endif]-->


<!--[if lt IE 6]>
	IE Conditional Comment: Internet Explorer 5.x
<![endif]-->


<!--[if IE 5.5]>
	IE Conditional Comment: Internet Explorer 5.5 only
<![endif]-->


<!--[if lte IE 6]>
	IE Conditional Comment: Internet Explorer 6 and below
<![endif]-->


<!--[if lt IE 7]>
	IE Conditional Comment: Internet Explorer 6 and below
<![endif]-->


<!--[if IE 6]>
	IE Conditional Comment: Internet Explorer 6 only
<![endif]-->


<!--[if gte IE 7]>
	IE Conditional Comment: Internet Explorer 7 and above
<![endif]-->

以上是关于HTML Wordpress:IE条件评论的主要内容,如果未能解决你的问题,请参考以下文章

HTML HTML标签IE条件评论

HTML IE条件评论

HTML IE条件评论

HTML IE条件评论

WordPress - 仅当 LT IE 9 时才将脚本排入队列

JavaScript IE CSS - 条件评论