<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">How about:<div><br></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><span style="color: #911c67">function </span>prefix_enqueue_scripts() {</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><span class="Apple-tab-span" style="white-space:pre">        </span>wp_enqueue_style( <span style="color: #508e15">'handle'</span>, get_template_directory_uri() . <span style="color: #508e15">'/ie.css'</span>, <span style="color: #911c67">array</span>(<span style="color: #508e15">'style'</span>) );</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; min-height: 15px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; color: rgb(146, 17, 8); "><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre">        </span></span><span style="color: #911c67">global </span>$wp_styles<span style="color: #000000">;</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; color: rgb(80, 142, 21); "><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre">        </span></span><span style="color: #921108">$wp_styles</span><span style="color: #000000">->add_data( </span>'handle'<span style="color: #000000">, </span>'conditional'<span style="color: #000000">, </span>'lt IE 9' <span style="color: #000000">);</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; ">}</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; color: rgb(80, 142, 21); "><span style="color: #000000">add_action( </span>'wp_enqueue_scripts'<span style="color: #000000">, </span>'prefix_enqueue_scripts' <span style="color: #000000">);</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; color: rgb(80, 142, 21); "><span style="color: #000000"><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font class="Apple-style-span" face="Helvetica" size="3">Konstantin</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font class="Apple-style-span" face="Helvetica" size="3"><br></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font class="Apple-style-span" face="Helvetica" size="3"><br></font></div><div><div>On 16.05.2012, at 17:18, Sayontan Sinha wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Actually you can use wp_enqueue_style for this, by combining with the style_loader_tag filter. E.g.:<br><br>add_filter('style_loader_tag', 'suffusion_filter_rounded_corners_css', 10, 2);<br>function suffusion_filter_rounded_corners_css($css_html_tag, $handle) {<br>
if ($handle == 'suffusion-rounded') {<br> return "<!--[if !IE]>-->".$css_html_tag."<!--<![endif]-->\n<!--[if gt IE 8]>".$css_html_tag."<![endif]-->\n";<br>
}<br> return $css_html_tag;<br>}<br><br><br><div class="gmail_quote">On Wed, May 16, 2012 at 8:14 AM, .: chris :. <span dir="ltr"><<a href="mailto:chris@jazzsequence.com" target="_blank">chris@jazzsequence.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Why not use conditional classes instead of conditional stylesheets?<div><a href="http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/" target="_blank">http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/</a></div>
<div><br><div>
<div>:: code bandit ::</div><div><a href="http://protocol.by/jazzsequence" target="_blank">http://protocol.by/jazzsequence</a></div><div><a href="http://about.me/jazzs3quence" target="_blank">http://about.me/jazzs3quence</a></div>
</div>
<br><div><div class="im"><div>On May 16, 2012, at 9:11 AM, Shinra Web Holdings wrote:</div><br></div><blockquote type="cite"><div class="im">Are themes still permitted to load browser-conditional style sheets using <!--[if IE 7]><link rel="stylesheet" href="ie7.css" type="text/css" media="screen" /><![endif]--> or are they required to discover the browser using PHP and use wp_enqueue_style() ?<br>
</div>
_______________________________________________<br>theme-reviewers mailing list<br><a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br><a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
</blockquote></div><br></div></div><br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Sayontan Sinha<br><a href="http://mynethome.net/" target="_blank">http://mynethome.net</a> | <a href="http://mynethome.net/blog" target="_blank">http://mynethome.net/blog</a><br>
--<br>Beating Australia in Cricket is like killing a celebrity. The death gets more coverage than the crime.<br><br>
_______________________________________________<br>theme-reviewers mailing list<br><a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>http://lists.wordpress.org/mailman/listinfo/theme-reviewers<br></blockquote></div><br></div></body></html>