Hello everyone, how do I hack the cgi.pm in order to make it put "conditional comments" between <head>and</head>? Read the doc, no problem with js or any other parameters, but this one seems to be tricky... This is the output I need:
<link rel="stylesheet" type="text/css" href="/styles/invertor.css"> <link rel="stylesheet" type="text/css" href="/styles/ie1.css"> <!--[if lte IE 6]> <link rel="stylesheet" media="all" type="text/css" href="/styles/ie2.c +ss" /> <![endif]-->
I do the first two lines with:
print $q->start_html(-title=>'searc http://invertor.ru', -author=>'@pashanoid', -base=>'true', -meta=>{'keywords'=>'invertor ups search solar wind alternativ +e energy', 'copyright'=>'MicroART'}, -style => [{'src'=>'/styles/invertor.css'}, {'src'=>'/styles/i +e1.css',}], -lang => 'ru-RU', -encoding=>'windows-1251', );
How on Earth do I get CGI.pm to put the
<!--[if lte IE 6]> <link rel="stylesheet" type="text/css" href="/styles/ie2.css" /> <![endif]-->
stuff in the header? I absolutely need this for the dreadfull IE abomination to render my css correctly... Best regards, thank you!
In reply to IE specific conditional comments in header of CGI.pm by pashanoid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |