I'm just wondering if it's possible to comment out IE conditional comments themselves (for testing purposes)? The following does not work:
<!-- <!--[if IE 7]> some code <![endif]--> -->
Thanks in advance! flexx
No, it isn't possible.
SGML/HTML/XML/XHTML comments cannot be nested.
I think you can just insert something to make them invalid:
<!--\[if IE 7]> some code <!\[endif]-->
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With