IE conditional help
-
I’m using a TwentyTen child theme and need to add a conditional for IE. This is what I have in my header
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" /> <!--[if IE]> <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/ie.css" media="screen" type="text/css" /> <![endif]-->I’ve added #wrapper {border:5px solid #000;} to the ie.css stylesheet just to see if it would show up, but it doesn’t seem to be working.
Anyone see what I’ve done wrong?**nvm, figured it out 2 seconds after posting this, needs to be stylesheet_directory with a child theme.
The topic ‘IE conditional help’ is closed to new replies.