Would it be a bad idea to use RewriteRule in .htaccess to serve different CSS and Javascript to browsers that doesn't support CSS3? If so why?
For example I would like to serve special CSS and Javascript to browsers that doesn't support CSS3 fully.
I am aware of that you can use <!--[if xx]> in HTML but I tought that doing it on server level would be cleaner.
Please guide me.
Example of how I was planning to do it:
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} "MSIE 9" [or]
RewriteCond %{HTTP_USER_AGENT} "MSIE 8" [or]
RewriteCond %{HTTP_USER_AGENT} "MSIE 7" [or]
RewriteCond %{HTTP_USER_AGENT} "MSIE 6"
RewriteRule the-file-for-all-other-browsers.css /css/style-for-ie-browsers-below-10.css [NC,L]