I saw a thread related to changing conditional comments, but I cannot find out if it is possible to add new conditional comments using php dom functionality.
I essentially want to be able to add the following (not the only example, but you get the idea!).
<!--[if ! lte IE 6]><link rel="stylesheet" href="css/default.css" />
I watched DomComment, but it seems to add a closing tag for the comment, so I end up with:
<link rel="stylesheet" href="css/default.css" />
Simon source
share