Visualizzazione dei risultati da 1 a 5 su 5

Discussione: eliminare gli spazi

  1. #1
    Utente di HTML.it
    Registrato dal
    Oct 2009
    Messaggi
    1,085

    eliminare gli spazi

    Ciao ..
    come faccio ad eliminare (ridurre) gli spazi tra i vari elementi ..
    (tra form e table .. e tra form e form )
    Grazie mille

    Codice PHP:
           <div id="ricerca_2"  style="height: 420px; padding: 0 5px 5px 5px;"> 
                <div id="ricerca_sub" style="padding: 0 0 0 30px; border: 1px solid blue;">

                                            
                <?php    
                
    if ($stato == 'CHIUSA')
                   {echo 
    "<form style=\"width: 570px; border: 1px solid red;\" method=post target=\"_blank\" action=polizze_disd_edit.php>";}
                else
                   {echo 
    "<form style=\"width: 420px; border: 1px solid red;\" method=post                   action=polizze_stato_exe.php>";}
                
    ?>  
                       <fieldset>                                                                                
                     <table border="1">                                                                                                     
                        <tr>                                                                       
                           <td width="80"> 
                                 <label style="color: #666666;">Disdetta: </label>                                   
                           </td>  
                           <td width="200"> 
                              <?php    
                              
    echo "<input id=\"theDate2\" type=text size=\"6\" readonly=\"readonly\" name=\"data_operazione\" value=" "'" .$today_2"'"">"
                                 echo 
    "&nbsp ";
                                    echo 
    "<input id=\"tasto_calen\" title= 'calendario' type=\"button\" onclick=\"displayCalendar(document.getElementById('theDate2'),'dd/mm/yyyy',this)\">";                                           
                                    
    ?>                                                                     
                           </td>                                                                    
                           <td width="100">                                          
                                 <?php
                                 
    if ($sw_tasto_disd == 'ON')
                                     {echo 
    "<input id='tasto_small'     style=\"font: bold 11px/0.8 Georgia, 'Times New Roman', serif;\" onclick=\"return(confirm('Confermi disdetta ?'))\" type=submit                       name='disdetta' value='Esegui'>
    "
    ;}
                              else
                                     {echo 
    "<input id='tasto_small_off' style=\"font: bold 11px/0.8 Georgia, 'Times New Roman', serif;\"                                                    type=submit disabled=\"disabled\" name='disdetta' value='Esegui'>
    "
    ;}
                                 
    ?>
                            </td>                 
                                
                               <?php
                            
    if ($stato == 'CHIUSA')
                               {
                                   echo 
    "<td width=\"140\" align=\"right\">";
                                echo 
    "<input id='tasto_small' style=\"font: bold 11px/0.8 Georgia, 'Times New Roman', serif;\" type=submit  name='disdetta_edit' value='Lettera'>";
                                   echo 
    "</td>";
                               }               
                               
    ?>
                        </tr>                                                                                 
                     </table>            
                     </fieldset>                                                                               
                   </form>              

                                           
                   <form style="width: 420px; border: 1px solid red;" method=post action=polizze_stato_exe.php>                                                     
                       <fieldset>                                                                                
                     <table  style="padding: 0;" border="1">                                                                                                     
                        <tr>                                                                       
                           <td width="80"> 
                                 <label style="color: #666666;">Attiva: </label>    
                           </td>  
                           <td width="200"> 
                              <?php    
                              
    echo "<input id=\"theDate1\" type=text size=\"6\" readonly=\"readonly\" name=\"data_operazione\" value=" "'" .$today_1"'"">"
                                 echo 
    "&nbsp ";
                                    echo 
    "<input id=\"tasto_calen\" title= 'calendario' type=\"button\" onclick=\"displayCalendar(document.getElementById('theDate1'),'dd/mm/yyyy',this)\">";                                           
                                    
    ?>                                                                     
                           </td>                                                                    
                           <td width="100">                                          
                                 <?php
                                 
    if ($sw_tasto_attiva == 'ON')
                                     {echo 
    "<input id='tasto_small'     style=\"font: bold 11px/0.8 Georgia, 'Times New Roman', serif;\" onclick=\"return(confirm('Confermi attivazione ?'))\" type=submit                       name='attiva' value='Esegui'>
    "
    ;}
                              else
                                     {echo 
    "<input id='tasto_small_off' style=\"font: bold 11px/0.8 Georgia, 'Times New Roman', serif;\"                                                   type=submit disabled=\"disabled\" name='attiva' value='Esegui'>
    "
    ;}
                                 
    ?>
                           </td>                 
                        </tr>                                                                                 
                     </table>            
                     </fieldset>                                                                               
                   </form>
    Immagini allegate Immagini allegate

  2. #2
    codice:
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td></td>
        <td></td>
        <td></td>
        <td></td>
      </tr>
    </table>

  3. #3
    Utente di HTML.it
    Registrato dal
    Oct 2009
    Messaggi
    1,085
    forse non mi son spiegato ..
    non all'interno della tabella, ma tra il form (linea rossa) e la tabella in esso contenuto, e poi anche avvicinare i form
    Grazie

  4. #4
    Ahhh... allora usando "i tuoi pezzi" ci starebbe un
    codice:
    <form style="width: 420px; margin 0; padding 0; border: 1px solid red;" method=post action=polizze_stato_exe.php>
    Giusto? 8)

  5. #5
    Utente di HTML.it
    Registrato dal
    Oct 2009
    Messaggi
    1,085
    Grazie ..
    lavorando su margin e paddin ci sono riuscito ! :-)
    Grazie mille

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.