How to do conditional comments in drupal?

Posted by wamp on Stack Overflow See other posts from Stack Overflow or by wamp
Published on 2010-05-27T08:43:58Z Indexed on 2010/05/27 8:51 UTC
Read the original article Hit count: 242

Filed under:
<!-- Additional IE/Win specific style sheet (Conditional Comments) -->
<!--[if IE]>
<style type="text/css" media="all">@import "files/tabs-ie.css";</style>
<script type="text/javascript" src="files/DOMAssistantCompressed-2.7.4.js"></script>
<script type="text/javascript" src="files/ie-css3.js"></script>
<![endif]-->

..
<!--[if IE 7.0]>
<link rel="stylesheet" href="files/ie-7.css" type="text/css" media="all" charset="utf-8" />
<![endif]-->

How to do the above in drupal?

© Stack Overflow or respective owner

Related posts about drupal