Viewing 2 posts - 1 through 2 (of 2 total) Author Posts December 17, 2012 at 2:16 pm #18813 KiwyParticipant Hi all, The following html code for IE doesn’t work. I added this line in the header.php. <!--[if !IE]><link rel="stylesheet" href="<?php echo get_bloginfo('template_url'); ?>/css/ie.css" type="text/css" /><![endif]--> Is there another way to add an if statement for IE? Thanks. December 17, 2012 at 7:51 pm #101039 DevinModerator Hi Kiwy, The code you have there is designed to target everything except for IE. As far as I know, that is the only way of adding it in. If you see it output correctly in your source code of the generated page then it should be working. If you are trying to create a css file for all versions of IE then you would just use uf IE. Reference: http://css-tricks.com/how-to-create-an-ie-only-stylesheet/ Regards, Devin Author Posts Viewing 2 posts - 1 through 2 (of 2 total) The topic ‘IF IE doesn't work’ is closed to new replies.