Sorry for asking it The answer was very simple, indeed: config.htmlTag_setParams = lang="it" class="no-js"><!--<![endif]--
-------------------------------------------- Riccardo De Contardi - Web Developer B Human Srl - www.bhuman.it Via Canzio, 15 - 20131 Milano TEL +39-02-20.23.271 - FAX +39-02-20.240.561 -------------------------------------------- -----Messaggio originale----- Da: typo3-english-boun...@lists.typo3.org [mailto:typo3-english-boun...@lists.typo3.org] Per conto di De Contardi Riccardo Inviato: martedì 30 novembre 2010 16:34 A: TYPO3 English Oggetto: [TYPO3-english] HTML 5 question about html tag Hello everybody. I'm using TYPO3 4.4.4 and I want to set up an HTML5 doctype config.doctype=html_5 works fine, but now I'm trying to use a "special" configuration of the <html> tag as seen on boilerplate (http://html5boilerplate.com/) <!doctype html> <!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]--> <!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]--> <!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]--> <!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]--> <!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]--> Now. If I use: config.doctype( <!doctype html> <!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]--> <!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]--> <!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]--> <!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]--> <!--[if (gt IE 9)|!(IE)]><!--> ) config.htmlTag_setParams = lang="it" class="no-js" I miss the end of conditional comment (<!--<![endif]-->) Is it possible to achieve such a thing? Thank you for your answers and best regards -------------------------------------------- Riccardo De Contardi - Web Developer B Human Srl - www.bhuman.it <http://www.bhuman.it> Via Canzio, 15 - 20131 Milano TEL +39-02-20.23.271 - FAX +39-02-20.240.561 -------------------------------------------- ************************************************** Chi riceve il presente messaggio e' tenuto a verificare se lo stesso non gli sia pervenuto per errore. In tal caso e' pregato di avvisare immediatamente il mittente e, tenuto conto delle responsabilita connesse all'indebito utilizzo e/o divulgazione del messaggio e/o delle informazioni in esso contenute, voglia cancellare l'originale e distruggere le varie copie o stampe. The receiver of this message is required to check if he/she has received it erroneously. If so, the receiver is requested to immediately inform the sender and - in consideration of the responsibilities arising from undue use and/or disclosure of the message and/or the information contained therein - destroy the original message and any copy or printout thereof. _______________________________________________ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english _______________________________________________ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english