[TYPO3-UG Italy] R: TemplaVoilà e <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
Lomonaco Davide
Davide.Lomonaco at bhuman.it
Thu Jul 12 09:19:40 CEST 2007
Io uso questo:
page.config{
# -------------------------------------------------------------
# DocType e Charset
doctype = xhtml_strict
xmlprologue = none
doctypeSwitch = 1
htmlTag_setParams = xmlns="http://www.w3.org/1999/xhtml" xml:lang="it"
lang = "it"
xhtml_cleaning = all
htmlSpecialChars = 1
htmlTag_langKey = it_IT
renderCharset = utf-8
metaCharset = utf-8
additionalHeaders = Content-Type:text/html;charset=utf-8
# -------------------------------------------------------------
}
Ciao
Davide
-----Messaggio originale-----
Da: typo3-ug-italy-bounces at lists.netfielders.de [mailto:typo3-ug-italy-bounces at lists.netfielders.de] Per conto di Mauro Lorenzutti
Inviato: giovedì 12 luglio 2007 8.44
A: TYPO3 Usergroup Italy
Oggetto: Re: [TYPO3-UG Italy] TemplaVoilà e <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
Ciao Sim,
> Salve a tutti!
> Ho un template che sto tendando di usare con TemplaVoilà .
> Il problema e' che, quest'ultimo, mi modifica la parte iniziare da:
>
> ---------------------
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>
> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
> <head>
> ---------------------
>
> in
>
> ---------------------
> <!DOCTYPE html
> PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <html>
> <head>
> ---------------------
>
> ...compremettendomi completamente il design!
>
> Con Firefox non noto variazioni, ma con IE7 la pagina si "disallinea"
> completamente.
>
> Mi sapreste dire come fare per evitare questa cosa?
>
> Nota: Da Update Mapping->Header Parts non ho la possibilità di
> vedere tali ed eventualmente selezionarle. Vedo solo i "meta"...
>
> Ah! vorrei inoltre segnalare che, durante i "preview mode" di
> TemplaVoila, la pagina rimane ben composta, visto che non viene
> variato il codice.
Puoi ignorare il mapping di TemplaVoila! e inserire direttamente nel
setup del tuo template la definizione degli header che ti servono:
config.docktype = xhtml_strict
config.htmlTag_langKey = en-EN
per gli altri disponibili:
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/7/3/
Saluti,
--
Mauro Lorenzutti
e-mail: mauro.lorenzutti at webformat.com
---------------------------------------------------------
WEBFORMAT srl | Corte Europa, 12 | I-33097 SPILIMBERGO PN
Tel +39-0427-926.389 -- Fax +39-0427-927.653
info at webformat.com -- http://www.webformat.com
---------------------------------------------------------
_______________________________________________
TYPO3-UG-italy mailing list
TYPO3-UG-italy at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-italy
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 responsabilità 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.
More information about the TYPO3-UG-italy
mailing list