&css

Parameter Description Input Default Example
&css Comma separated list of CSS file URLs and also does IE conditional statements if needed.

More information about &css.
URI None &css=`c1.css,c2.css:lt IE 7`

Example

&css=`file1.css,file2.css:lte IE 7,file3.css:lt IE 7`

  • file1 will be first and will have no IE conditional statements.
  • file2 will be next and will have lte IE 7.
  • file3 will be last and will have lt IE 7.
  • This will output the following (note the actual output of the snippet is only 3 lines long, this example uses more lines so it is easier to read):
<link rel="stylesheet" href="file1.css" type="text/css" />

<!--[if lte IE 7]>
<link rel="stylesheet" href="file2.css" type="text/css" />
<![endif]-->

<!--[if lt IE 7]>
<link rel="stylesheet" href="file3.css" type="text/css" />
<![endif]-->