Given the code (which looks like it should be valid):
<!--[if lt IE 7]> <style type="text/css" media="screen"> </style><![endif]-->
The W3C validator throws a fit:
- delimiter S in comment comment
- Invalid comment declaration: start character name found outside the comment but inside the comment declaration
- Character data is not allowed here.
etc.
I'm not quite sure what is going on. Are these "nested" comments? Tag generated by Zend Framework Viewhelper headStyle
$this->headStyle()->prependStyle('div.stuff { background-image: none; }', array('conditional' => 'lt IE 7') );
source share