• User

    DOC TYPE e CSS

    Ciao ragazzi,

    Io sono un novello nel settore ed ho un problema.

    Oggi ho saputo di dover inserire enlle mie pagine un DOC TYPE per specificare agli spider il mio di linguaggio.

    Sono andato su questo sito, molto chiaro : http://alistapart.com/stories/doctype/ , peró purtroppo ho provato ad inserire tutti i tipi di doctype presenti ma tutti mi vanno in contrasto con i CSS del corpo principale della pagina, é come se i fogli di stile sparissero.

    Cosa posso fare ?

    Se vi puo essere utile vi attacco il codice della pagina , grazie :

    
    <html>
    <head>
    <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
    <link rel="icon" href="http://www.parmesancheese.it/images/favicon2.ico.jpg"/>
    <title>Buy online Parmigiano reggiano - the real parmesan cheese</title>
    <meta name="DC.title" content="Buy online Parmigiano reggiano - the real parmesan cheese ">
    <meta name="description" content="Buy now online the real and the best parmesan cheese,parmigiano reggiano from Parma's diary la medesanese directly in your house">
    <meta name="DC description" content="Buy now online the real and the best parmesan cheese,parmigiano reggiano from Parma's diary la medesanese directly in your house">
    <meta http-equiv="description" content="Buy now online the real and the best parmesan cheese,parmigiano reggiano from Parma's diary la medesanese directly in your house">
    <meta http-equiv="DC description" content="Buy now online the real and the best parmesan cheese,parmigiano reggiano from Parma's diary la medesanese directly in your house">
    <meta name="keywords" content="parmesanost,Parmesankäse,Parmesaani,parmesan,parmesano,Parmezaanse kaas,Parmezan,Parmesão,Parmezanul,
    Parmesan Peyniri">
    <meta http-equiv="pragma" content="no-cache">
    <meta name="Revisit" content="7 days">
    <meta name="robots" content="index, follow">
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_reloadPage(init) {  //reloads the window if Nav4 resized
      if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
        document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
      else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
    }
    MM_reloadPage(true);
    //-->
    </script>
    </head>
    <style>
    	td{
        font-size:11px;
        font-family:verdana;
        color:3A4D9D;
        }
        a{
        text-decoration:none;
        font-size:11px;
        color:9588D5;
        font-family:verdana;
        }
        a:hover{    
        color:red; 
        }
        a:visited{
        font-size:10px;
        color:9588D5;   
        }
        a.red {
        font-size:11px;
        color:A60000;
    	font-family:verdana;
        text-decoration:none;
        font:900
        }
         a.red:visited {
        color:A60000;
        }    
        .padding{
        	padding-left:20;
            padding-right:20;
        }
        a.white{color:ffffff;
        font-size:10px; 
        text-decoration:none}
        a.white.visited{color:ffffff}
    </style>
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a*)&&x.oSrc;i++) x.src=x.oSrc;
    }
    
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a*.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a*;}}
    }
    
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d)&&d.all) x=d.all; for (i=0;!x&&i<d.forms.length;i++) x=d.forms*;
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers*.document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    }
    
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a*))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    }
    //-->
    </script>
    </head>
    <body leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" onLoad="MM_preloadImages('images/b3.gif','images/b4.gif','images/b5.gif','images/b6.gif','images/b7.gif','images/b8.gif','images/english-parmesan.jpg','images/24mesi.jpg')" bgcolor="DFD7F2">
    <table width="879" height="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
      <tr>
        <td height="105" colspan="2"><img src="http://www.giorgiotave.it/forum/images/slogan1.gif" border="0" width="534" height="103" alt=""><img src="http://www.giorgiotave.it/forum/images/aa.jpg" alt="parmesancheese" width="340" height="103"></td>
      	<td width="10" bgcolor="#000000" rowspan="10"><img src="http://www.giorgiotave.it/forum/images/spacer.gif" border="0" width="1" height="1" alt=""></td>
      </tr>
      <tr>
        <td height="32" colspan="2"><img src="http://www.giorgiotave.it/forum/images/b1.gif"><a href="Deutch-Parmesankase.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image5','','images/b3.gif',1)"><img src="http://www.giorgiotave.it/forum/images/b3.gif" alt="deutch" name="Image5" width="106" height="29" border="0"></a><a href="index.html" onMouseOut="MM_swapImgRestore()" ><img src="http://www.giorgiotave.it/forum/images/b4.jpg" alt="italian" name="Image6" width="104" height="29" border="0"></a><a href="english-parmesan.html" onMouseOut="MM_swapImgRestore()" ><img src="http://www.giorgiotave.it/forum/images/b5.jpg" alt="english" name="Image7" width="132" height="29" border="0"></a><a href="espanol-parmesano.html" onMouseOut="MM_swapImgRestore()" ><img src="http://www.giorgiotave.it/forum/images/b6.jpg" alt="espanol" name="Image8" width="111" height="29" border="0"></a><a href="francais-parmesan.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image9','','images/b7.gif',1)"><img src="http://www.giorgiotave.it/forum/images/b7.gif" name="Image9" width="104" height="29" border="0"></a><img src="http://www.giorgiotave.it/forum/images/b8.gif" width="85" height="29"><a href="parmesan-contactus.html"><img src="http://www.giorgiotave.it/forum/images/posta.jpg" alt="contact us" width="31" height="29" border="0"></a><a href="parmesan-buynow.html"><img src="http://www.giorgiotave.it/forum/images/carrello.jpg" alt="buynow parmesancheese" width="31" height="29" border="0"></a><a href="english-parmesan.html"><img src="http://www.giorgiotave.it/forum/images/house.jpg" alt="parmesancheese homepage" width="47" height="29" border="0"></a></td>
      </tr>
      <tr>
        <td valign="top" width="600" height="100%">
        		<table border="0" cellpadding="0" cellspacing="0" width="593">
                       <tr>
                       		<td width="593" height="964" valign="top" style="padding-left:30; padding-right:30"><h1 align="center">&nbsp;</h1>
                       		  <h1 align="center"><em><font color="#000000" face="Times New Roman, Times, serif">PARMESAN
                       		        CHEESE</font></em></h1>
                       		  <h1 align="center"><em><font color="#000000" face="Times New Roman, Times, serif">(
                       		        PARMIGIANO-REGGIANO)</font></em></h1>
                       		  <p align="justify" class="Stile3"><strong>Parmesan cheese</strong> is
                   		    a typically italian product well-know
                       		    all over the world. It is
                       		      processed in Po valley dairies so that it's has
                       		    a special link with Parma landscape. In this area
                       		    in fact from natural fodder and from usage of raw
                       		    milk
                       		      with no
                       		      additivies, originates the secret of <strong>parmesan
                   		      cheese (parmigiano-reggiano)</strong> quality.Here,
                   		      during the long seasoning, milk natural ferments give
                   		      the cheese
               		          it's taste and structure peculiarities.</p>
                       		  <p align="justify" class="Stile3"><br>
                       		    We make <strong>parmesan
                       		      cheese (parmigiano-reggiano)</strong> with love
                       		    and care thanks to a tecnique handed on from
                       		    my grand
                       		    father to my dad untill to me. And nowadays
                       		    our parmesan cheese (parmigiano-reggiano)<em> </em>is
                       		    awarded as the best 24 months seasones parmesan
                       		    cheese. </p>
                       		  <table width="268" height="187" border="1" align="left" cellpadding="0" cellspacing="0">
                                <tr>
                                  <td width="132" height="154" style="padding-left:20"><map name="3">
                                      <area shape="rect" coords="29,92,69,109" href="http://www.domain.com/">
                                      <area shape="rect" coords="7,94,23,112" href="http://www.domain.com/">
                                    </map>
                                  <a href="parmesan-buynow.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image20','','images/english-parmesan.jpg',1)"><img src="http://www.giorgiotave.it/forum/images/guido.jpg" alt="parmesankase 18" name="Image20" width="108" height="130" border="0"></a></td>
                                  <td width="125" valign="top" style="color:B00112; padding-left:5; padding-right:20"><p><strong><font color="#FF0000">Buy
                                          now...</font></strong><br>
                                    </p>
                                      <p><a href="Parmesan-buynow.html">Our parmesan
                                          cheese seasoned 18 months</a></p>
                                      <p><a href="Parmesan-buynow.html">&euro; 15.00
                                          al Kg.</a></p></td>
                                </tr>
                              </table>
                       		  <table width="254" height="187" border="1" align="right" cellpadding="0" cellspacing="0">
                                <tr>
                                  <td width="134" height="161" style="padding-left:20"><a href="parmesan-buynow.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image19','','images/24mesi.jpg',1)"><img src="http://www.giorgiotave.it/forum/images/copertina.jpg" alt="parmesankase 24 " name="Image19" width="107" height="131" border="0"></a>
                                      <map name="3Map">
                                        <area shape="rect" coords="29,92,69,109" href="http://www.domain.com/">
                                        <area shape="rect" coords="7,94,23,112" href="http://www.domain.com/">
                                      </map>
                                  </td>
                                  <td width="114" valign="top" style="color:B00112; padding-left:5; padding-right:20"><p><strong><font color="#FF0000">Buynow...</font></strong><br>
                                    </p>
                                      <p> <a href="Parmesan-buynow.html">Our
                                      parmesan cheese seasoned 24 months</a></p>
                                      <p><a href="parmesan-buynow.html">&euro; 16.00
                                  al Kg.</a></p></td>
                                </tr>
                              </table>
    						<p>&nbsp;</p>
                       		  <p>&nbsp;</p>
                       		  <p>&nbsp;</p>
                       		  <p>&nbsp;</p>
                       		  <p>&nbsp;</p>
                       		  <p>&nbsp;</p>
                       		  <p>&nbsp;</p>
                       		  <p>&nbsp;</p>
                       		  <hr>
                              <p align="left" class="stile 3">                          
                              <p align="left" class="stile 3">                          
                              <p align="left" class="stile 3">                          
                              <p align="left" class="stile 3">We make it with the
                       		    same ingredients as eight century ago: precious milk,
                       		    rennet, heat and the same ancient method and skill.
                       		    And then it has seasoned for two years and more:
                       		    and this is a work too, because the whole cheese
                       		    need to be cleared and turned , watched and cared
                   		    everyday.
                              <p align="justify" class="stile 3">Parmesan cheese (parmigiano-reggiano)
                       		    miracle is essentialy due to the slow rythm of nature.
                              
                              <p align="justify" class="Stile3">Parmesan cheese is a
                       		    DOP item (Protected Origin Denomination) according
                       		    to European Regulamentation reg CEE 2081/92 and reg
                       		    CE N 1107/96.</p>
                       		  <p align="justify" class="Stile3">Only the cheese produced
                       		    in conformity with these rules can be branded &quot;parmigiano-reggiano&quot;
                       		    and must show the origin and selection marks.</p>
                       		  <p align="justify" class="Stile3">We sell Parmesan Cheese
                       		    online to make it know all over the world and to
                       		    allow you to taste it. <strong>Our price is unique,</strong> if refered
                       		    to a 24 months seasoned cheese, and <strong>our delivery-price
                       		    are the cheaper one in the parmesan cheese online
                       		    market.</strong></p>
                       		  <p align="justify" class="Stile3">We also offer to you,<strong> for
                       		      free, a gift packacing of parmesan cheese, delivered
                       		    to the address, you want with a card with your original
                       		    message.</strong> Trust us and you will
                       		    cut a fine figure with everybody!!</p>
                       		  <p align="justify" class="Stile3">Don't waste time. <a href="parmesan-buynow.html"><strong>Buy
                       		    online</strong></a> and in the mean time possible the
                       		    best parmesan cheese will be on your table.</p>
               		     <p align="justify" class="Stile3">&nbsp;</p>
               		     <p align="middle" class="Stile3"><img src="http://www.giorgiotave.it/forum/images/pagamento.gif" alt="" name="" width="277" height="70" align="middle"></p></td>
                       </tr>
                       <tr>
                       		<td valign="top" style="padding-top:20">
                            		<table height="224" border="0" cellpadding="0" cellspacing="0">
                                           <tr>
                                             <td width="595" height="224" valign="top" style="padding-left:30; padding-right:10"><p><b><a href="parmesan-feedback.html"><font color="#000000">LAST
                                                       FEEDBACK ...</font></a></b></p>
                                               <p align="left" class="Stile10"> <em>-
                                                   John Sullyvan, chef nel ristorante
                                                   trial in Cardiff,</em> Galles<em>.</em></p>
                                               <p>&quot; <span class="Stile12">This
                                                   cheese is really great, it's the
                                                   best one i never tried in my life.
                                                   All my customer are entusiastic
                                                   of this product. The service is
                                                   good and fast.&quot;</span></p>
                                               <p class="Stile10">- <em>Nicoletta
                                                   Caserta, privato, residente ad
                                                   Amsterdam</em>, Olanda.</p>
                                               <p class="Stile12">&quot;Il piu buono
                                                 che si possa trovare.Qua in Olanda &egrave; un
                                                 miraggio,mi mancano molto i sapori
                                                 della tavola italiana, e grazie
                                                 al vostro formaggio mi sento piu
                                                 vicino a casa.Il servizio &egrave; buono&quot; </p>
                                               <p class="Stile13">- <em>Michel Retzimmer,
                                                 food-shop HIGH en Copenaghen</em>, Danimarca.</p>
                                               <p class="Stile12">&quot;Congratulations!!!
                                             excellent product and real price.</p>                                           <p>&nbsp;</p></td>
                                             <td width="10">&nbsp;</td>
                                           </tr>
                              </table>
                              
                            </td>
                       </tr>
                       <tr>
                       		<td></td>
                       </tr>
                       <tr>
                       		<td></td>
                       </tr>
                       <tr>
                       		<td></td>
                       </tr>
                       <tr>
                       		<td></td>
                       </tr>             
          </table>
          
        </td>
        <td width="278" height="100%" valign="top" background="http://www.giorgiotave.it/forum/images/back_right.gif">
        		<table width="275" height="967" border="0" cellpadding="0" cellspacing="0">
                     <tr>
                       <td width="282"><p><b><a href="parmesan-buynow.html"><font color="#000000">Buy
                                 now...</font></a></b><br>
      Buy now the best parmesan cheese from our dairies direct to your home...<br>
          <a href="parmesan-production.html"><br>
          <b><font color="#000000">The production</font></b><strong><font color="#000000">...</font></strong></a><br>
      Discover, with a nice video, how one of the best cheese in the world is made.<br>
          <br>
          <b><a href="parmesan-nutritional.html"><font color="#000000">Nutritional principles...</font></a></b><br>
      Discover why parmesan cheese is consider one of the lighter and nourishing
      cheese<br>
        <br>
        <b><a href="parmesan-history.html"><font color="#000000">The history...</font></a></b><br>
      Know the history of this ancient cheese</p>
                         <p><br>
                           <b><a href="parmesan-recipes.html"><font color="#000000">The
                           recipes...</font></a></b><br>
                           Discover how to cook with parmesan cheese and send to
                           us your own recipe!</p>
                         <p><b><a href="parmesan-contactus.html"><font color="#000000">Contact
                                 us...</font></a></b><br>
      Meet us...here you can find our dairy and our production area...<br>
                         </p>
                         <p><a href="parmesan-feedback.html"><font color="#000000"><strong>Feedback...</strong></font></a><br>
      Read our customer's feedbacks<br>
                       </p></td>
                     </tr>
                     <tr>
                       <td><img src="http://www.giorgiotave.it/forum/images/text4.gif" border="0" width="267" height="25" alt=""></td>
                     </tr>
                     <tr>
                       <td class="padding" style="color:304BAA"><p><img src="http://www.giorgiotave.it/forum/images/marchi_it.gif" alt="parmesancheese's mark" width="235" height="494"><br>
                         </p>
                       </td>
                     </tr>                 
          </table>
          
        </td>
      </tr>
      <tr>
        <td colspan="2" style="padding-top:30;">
        		<table width="780" height="18" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td width="262"><img src="http://www.giorgiotave.it/forum/images/1.gif" border="0" width="254" height="5" alt=""></td>
                      <td width="317"><a href="english-parmesan.html">[home]</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="parmesan-contactus.html">[contact
                          us]</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="parmesan-buynow.html">[buy
                          now]</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="parmesan-nutritional.html">[nutritional]</a></td>
                      <td width="201" align="right"><img src="http://www.giorgiotave.it/forum/images/2.gif" border="0" width="201" height="5" alt=""></td>
                    </tr>
          </table>
          
        </td>
      </tr>
      <tr>
        <td colspan="2" style="color:9588D5;font-size:9px" valign="middle" align="center" height="11">&copy 2006
          Copyright. All rights reserved. optimized for firefox 2.0</td>
      </tr>  
    </table>
    </body>
    </html>
    
    

  • User Attivo

    Meglio che parti dalle basi con qualche guida, come per esempio:
    http://xhtml.html.it/guide/leggi/51/guida-html/