Thanks to Microsoft and Internet Explorer, the bigger problem for every front-end developper is definitely cross-browser compatibility. Even if Internet Explorer introduced conditional tags to include styles only for IE, it can be good to be able to deal with other browsers as well.
This code works with the JQuery framework, so of course make sure you have it installed on your website.
Paste the following code in the head part of your html document or in a separate .js file:
Now you can preprend your styles with .msie, .mozilla, .opera, .safari or .other depending on the targeted browser.