How to call Page specific IE6 stylesheet?
-
I’ve got a couple of different stylesheets calling for page and category designs (see below). Is there a way to call an IE specific stylesheet for each? For example, calling (is_page) for the IE6 specific stylesheet which differs from the (is_category)? Otherwise I can’t just use an [if IE 6] call that blankets the site. (oh, sweet death to IE6…)
—–
[code]<?php if (is_page()) { ?>
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style2.css" type="text/css" media="screen" />
<?php } else if (is_category()) { ?>
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style2.css" type="text/css" media="screen" />
<?php } else if (is_single()) { ?>
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style2.css" type="text/css" media="screen" />
<?php } else { ?>
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.css" type="text/css" media="screen" />
<?php } ?>[/code]
- The topic ‘How to call Page specific IE6 stylesheet?’ is closed to new replies.