Possible Duplicate:
Displaying the OS name/version and the browser name/version on the page?
Does anybody know is there any template for assigning a specific CSS file to a specific browser and platform by using Javascript?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
you can use jQuery to detect the browser, is the fastest way in my opinion http://api.jquery.com/jQuery.browser/ and then just create or update your link tag for the css (like you would change ant DOM node)
in jQuery:
also if you want to add css for diffrent ie versions you can do this in the html:
http://www.quirksmode.org/css/condcom.html