App_Themes and App_Browsers. Excluding CSS file depending on browser
Posted on 2009-04-06
In my ASP.NET application I am using themes. When I went to validate I came across various errors to do with non-standard CSS. For example, I was using IE's zoom and _background-image and _height.
To get around this I placed IE specific CSS "Hacks" in a separate CSS file and was hoping to be able to explicitly state which CSS file the Theme should use in code behind.
Is this possible?
Also, it appears that the Theme is recursively adding references to all CSS files in the theme folder. Is it possible to avoid this?