I’ve seen people doing things like this in their HTML:
<!--[if IE]> <link rel='stylesheet' href='ie.css' type='text/css' /> <![endif]-->
Does this work across all modern browsers and is there a list of browser types that will work with that kind of if statement?
Edit
Thanks Ross. Interesting to find out about gt, lt, gte, & lte.
This works across all browsers because anything except IE sees
<!--IGNORED COMMENT-->. Only IE reads the comment if it contains a conditional clause. Have a look at this articleYou can also specify which version of IE. For example: