Wordpress: IE Conditional Comments


/ Published in: HTML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <!--[if IE 6]>
  2. <link rel="stylesheet" type="text/css" media="screen" href="<?php echo get_bloginfo('template_directory'); ?>/css/ie6.css" />
  3. <![endif]-->
  4. <!--[if IE 7]>
  5. <link rel="stylesheet" type="text/css" media="screen" href="<?php echo get_bloginfo('template_directory'); ?>/css/ie7.css" />
  6. <![endif]-->

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.