Niente da fare non funziona, mi rispetta il widht ma non l'height... posto il codice:

Codice PHP:


<?php 
        
global $link;
          
$Categorie=mysql_query("SELECT * FROM tbCategorie order by Categoria"$link );
        
$NumeroCategorie=mysql_num_rows($Categorie);
        
        if (
$NumeroCategorie>0)
          {
           print(
"<table  width=\"135\" height=\"25\" bgcolor=\"silver\" cellpadding=\"0\" cellspacing=\"0\"><td  style=\"word-spacing: 0; text-indent: 0; text-align: left; margin: 0\">");
             while (
$RCorrente=mysql_fetch_array($Categorie))
                   {
                     
$CCorrente=$RCorrente[Categoria];
                     
                     if (
$CCorrente<>$VCategoria)
                       {
                        
$VCategoria=$CCorrente;
                        
$arrProd[]=$VCategoria
                       }
                    }  

               foreach (
$arrProd as $Val)
                          {
                            

  
$i=$i+1;
      

        if ((int)(
$i/2) == (float)($i/2))
         { 
           
$ColoreBase="#d9dae8";
         }
        else
         { 
           
$ColoreBase="#e2e3ed";
         }
                      
        print(
"[/b]<table width=\"135\" height=\"25\"  bgcolor=silver cellapadding=1 cellspacing=1 ><td bgcolor=\"white\" background=\"Immagini/BottoneVuoto2.gif\" height=\"25\"><h3><center><a href=\"MostraProdotto.php?Categoria=$Val\"><h2><font color=gray><font color=gray>");
        
if (
$Val==$Categoria)
   {
    
$Grassetto="[b]<font color=red>";
   }        
 else
   {
     
$Grassetto="";
   }
   
print(
"$Grassetto $Val</a></font></td></table>");



       if(
$Categoria<>"" and $Val==$Categoria)
         { 
          
$SottoCat=mysql_query("SELECT * FROM tbCategorie where Categoria='$Val' order by SottoCat "$link );
          
$NumeroSottoCategorie=mysql_num_rows($Categorie);
            if (
$NumeroSottoCategorie>0)
              {
                while (
$SCCorrente=mysql_fetch_array($SottoCat))
                   {
                      
$SCorrente=$SCCorrente[SottoCat];
                     
                     if (
$SCorrente<>$VSCategoria)
                       {
                        
$VSCategoria=$SCorrente;
                        
$arrSotto[]=$VSCategoria
                       }
                    }
               if (isset (
$arrSotto))
                {
                    foreach (
$arrSotto as $ValSotto)
                          {

                     if (
$ValSotto<>"")
                      {
                       print(
"[/b]<table width=\"135\" bgcolor=silver cellapadding=1 cellspacing=1><td bgcolor=\"white\" background=\"Immagini/BottoneVuoto1.gif\" width=\"135\" height=\"25\" onMouseOver=\"this.bgColor='white'\" onMouseOut=\"this.bgColor='white'\"><h3></center><h3><a href=\"MostraProdotto.php?Cat=$Categoria>$ValSotto\" CLASS=\"textBlue\" STYLE=\"color: #666666\" onMouseOver=\"this.style.color = 'red'\" onMouseOut=\"this.style.color ='#666666'\">  &nbsp $ValSotto</a></font></td></table>");
                      }
 
                   }
                }
              }
         }





                          }
        



            print(
"</td></table>");
          }

?>

GRAZIE