title: How to exclude a specific CSS file from an ASP.NET Theme?
body: <p>I'm making a website that will have to render correctly on FF/IE6/IE7/Opera/Safari. IE6 came as a late requirement (when I had done all the other browsers) and it just has to be useable, not necessarily the same as on the other browsers. Now I'm tweaking it so that it's useable on IE6 as well.</p>
  
  <p>To this end I've created another stylesheet in my theme called <code>IE6_override.css</code>. As you might have guessed, I want it to be applied only when the browser is IE6. Conditional comments would perfect for this.</p>
  
  <p>The only problem is - ASP.NET renders a <code>&lt;link&gt;</code> tag for every CSS file that is in the theme's folder, thus including this file unconditionally on all browsers.</p>
  
  <p>I would like to stick to themes because it's completely feasible that we might create more skins for our application later (if the customers desire that).</p>
  
  <p>Is there any way how I can make ASP.NET exclude this specific .CSS file from its auto-including?</p>
  
  <p><strong>Added:</strong> Thank you for your answers! In the end I found a workaround. Due to some other styling problems I've <a href="https://stackoverflow.com/questions/519945/how-to-style-input-typetext-in-ie6-css">asked about</a> earlier, I'm forced to have a IE6-workaround Javascript as well. Thus I prefixed all my IE6-specific rules with a <em><code>.ie6_dummy</code></em> class selector and then removed it in JS upon page loading. :)</p>