[Typo3-UG Italy] R: codice html pulito

Luca Feti luca.feti at coni.it
Tue Nov 22 16:07:42 CET 2005


Ciao scusate un informazione se io utilizzo template html generati da me
dove lo devo inserire?grazie


-----Messaggio originale-----
Da: typo3-ug-italy-bounces at lists.netfielders.de
[mailto:typo3-ug-italy-bounces at lists.netfielders.de] Per conto di Mauro
Ongaro
Inviato: martedì 22 novembre 2005 15.28
A: typo3-ug-italy at lists.netfielders.de
Oggetto: Re: [Typo3-UG Italy] codice html pulito

Grazie Stefano, mi hai tolto un grande peso,sei stato di grande aiuto.
Ha funzionato bene anche senza tidy.

Grazie

Mauro Ongaro
www.ongasoft.ch


config {
   removeDefaultJS = 1
   removeDefaultJS = external
   inlineStyle2TempFile = 1
   disablePrefixComment = 1
}

per avere di + devi usare programmi esterni (tipo Tidy)

stefano cecere
www.krur.com



On 22/nov/05, at 14:36, Mauro Ongaro wrote:

> Salve a tutti.
> Ho un problema che mi sta assillando...
>
> Vorrei rendere il codice HTML pulito senza che typo3 aggiunga  inutilmente
> riferimenti alle estensioni e agli stili.
> Riguardo allo stylesheet h un file esterno, definito nel template.
>
> Ora mi chiedo se qualcuno sa come fare per nascondere o disattivare  tutto
> questo codice inutile ?
>
> Ho estratto qui di seguito una parte del codice html che mi genera  typo3.
>
>
> <!DOCTYPE html
>  PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <html>
> <head>
>  <meta http-equiv="Content-Type" content="text/html;  charset=iso-8859-1" 
> />
>
> <!--
>  This website is brought to you by TYPO3 - get.content.right
>  TYPO3 is a free open source Content Management Framework created  by 
> Kasper
> Skaarhoj and licensed under GNU/GPL.
>  TYPO3 is copyright 1998-2005 of Kasper Skaarhoj. Extensions are 
> copyright
> of their respective owners.
>  Information and contribution at http://www.typo3.com
> -->
>
>  <style type="text/css">
>   /*<![CDATA[*/
>  <!--
>  /* default styles for extension "tx_thmailformplus_pi1" */
>   .tx-thmailformplus-pi1 H2 { margin-top: 0px; margin-bottom: 0px; }
> /* default styles for extension "tx_hypernav_pi1" */
>   .tx-hypernav-pi1-subLevels {
>    border: solid 1px #CED9E7;
>    border-collapse: collapse;
>   }
>   .tx-hypernav-pi1-subLevels TD {
>    padding: 5px;
>    background-color: #CED9E7;
>   }
>   .tx-hypernav-pi1-subLevels TD.tx-hypernav-pi1-subLevels-rowAlt {
>    background-color: #CED9E7;
>   }
> /* default styles for extension "tx_srlanguagemenu_pi1" */
>    .tx-srlanguagemenu-pi1 p { font-family: Verdana, sans-serif; 
> font-size:
> .8em; line-height:100%; color: #35006d; margin-top: 8px; padding: 0;
> text-indent: 0; }
>    .tx-srlanguagemenu-pi1 img { margin: 0 5px; padding: 0; border- style:
> none; }
>    .tx-srlanguagemenu-pi1 .CUR { float: left; font-size: .8em; }
>    .tx-srlanguagemenu-pi1 .CUR a { background-color: transparent;  color:
> #35006d; text-decoration: none; font-weight: bold; }
>    .tx-srlanguagemenu-pi1 .CUR a:focus, .tx-srlanguagemenu-pi1 .CUR 
> a:hover,
> .tx-srlanguagemenu-pi1 .CUR a:active { color:#333333; }
>    .tx-srlanguagemenu-pi1 .NO { float: left; font-size: .8em; }
>    .tx-srlanguagemenu-pi1 .NO a { background-color:transparent; color:
> #35006d; text-decoration:none; font-weight:bold; }
>    .tx-srlanguagemenu-pi1 .NO a:focus, .tx-srlanguagemenu-pi1 .NO 
> a:hover,
> .tx-srlanguagemenu-pi1 .NO a:active { color:#333333; }
>    .tx-srlanguagemenu-pi1 .INACT { float: left; font-size: .8em; }
>    .tx-srlanguagemenu-pi1 .INACT a { background-color:transparent;  color:
> #35006d; text-decoration: none; font-weight: normal; }
>    .tx-srlanguagemenu-pi1 .INACT a:focus, .tx-srlanguagemenu- pi1 .INACT
> a:hover, .tx-srlanguagemenu-pi1 .INACT a:active { color: #333333; }
>    .tx-srlanguagemenu-pi1 .SPC {  float: left; font-family: Verdana,
> sans-serif; font-size: .8em; line-height: 100%; color: #35006d; }
>    .tx-srlanguagemenu-pi1 select { font-size: .8em; font-family:  Verdana,
> sans-serif; background-color: #35006d; color: white; font-weight:  bold; }
> </HEAD>
>
>
> _______________________________________________
> Typo3-ug-italy mailing list
> Typo3-ug-italy at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-italy






More information about the TYPO3-UG-italy mailing list