Internet Explorer specific support for CSS (cascading style sheets)

1. The CSS attributes IE supports, including versioning:

2. Dynamic properties using 'expression' to execute javascript

This is a simple example of executing script through an expression property, the backslashes are just escaping mechanisms allowed in the CSS spec.




3. Conditional comments available in IE, notice how in this example the legacy style was non-standard.


<!--[if !IE 6]>
<p>IE7 or IE5 only</p>

Specifying the User-Agent for enabling document compatibility:

<meta http-equiv="X-UA-Compatible" content="IE=4"> <!-- IE5 mode -->
<meta http-equiv="X-UA-Compatible" content="IE=7.5"> <!-- IE7 mode -->
<meta http-equiv="X-UA-Compatible" content="IE=100"> <!-- IE8 mode -->
<meta http-equiv="X-UA-Compatible" content="IE=a"> <!-- IE5 mode -->
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <!-- IE8 chooses highest version-->