Visualizzazione dei risultati da 1 a 7 su 7

Discussione: altezza td

  1. #1
    Utente di HTML.it
    Registrato dal
    Sep 2001
    Messaggi
    165

    altezza td

    Ciao a tutti
    ho un problema con l'altezza delle tabelle...

    ho una tabella cosi composta

    <table width="100" height="n">
    <tr>
    <td width="70" rownspan="4"> </td>
    <td width="30" height="10"> </td>
    </tr>
    <tr>
    <td width="30" height="10"> </td>
    </tr>
    <tr>
    <td width="30" height="10"> </td>
    </tr>
    <tr>
    <td width="30"> </td>
    </tr>

    Con firefox tutto ok, le righe mantendono l'altezza stabilita e l'ultima si espande nello spazio disponile mentre con i.e. tutte le tabelle si dividono lo spazio senza tenere conto delle misure inserite.

    come posso fare?

  2. #2
    posta tutta la tabella, ci sono degli errori, ma occorre vederla tutta

    ciaux

  3. #3
    Utente di HTML.it
    Registrato dal
    Sep 2001
    Messaggi
    165
    <table width="602" height="411" border="0" cellspacing="0" cellspacing="0">
    <tr>
    <td width="365" style="line-height:15px; text-align:justify; padding-left:30px;" height="381" valign="top" rowspan="4">
    <span class="testo_grigio">
    21.06.2006
    </span>
    <span class="titolo_blu">
    HOME TITOLO MODIFICABILE COLORE CORPO GRASSETTO
    </span>
    <span class="testo_nero">
    Our mission is to integrate our <FONT color=red size=6>skills</FONT> and knowledge with the ones of our customers, creating an Integrated Company. We call ourselves SYSTEM, because we are, a mechanism
    where knowledge and expertise exploit all technical and quality aspects...

    </span>
    </td>
    <td width="30" style="border-right:1px solid #cccccc" rowspan="4">
    </td>
    <td width="207" style="border-bottom:1px solid #cccccc; padding-left:5px;padding-right:5px;padding-top:0px; padding-bottom:0px;" height="195" valign="top" align="left"></td>
    </tr>
    <tr>
    <td width="207" style="border-bottom:1px solid #cccccc; padding-left:5px;padding-right:5px;padding-top:0px; padding-bottom:0px;" height="108" valign="top" align="left">
    <span class="titolo_nero">
    DOWNLOAD
    </span>
    <span class="testo_nero">
    </span>
    </td>
    </tr>
    <tr>
    <td width="207" style="padding-left:5px;padding-right:5px;padding-top:0px; padding-bottom:0px;" height="108" valign="top" align="left">
    <span class="titolo_nero">
    LINK</span>
    <span class="testo_nero">
    </span>
    </td>
    </tr>
    <tr><td width="207"></td></tr>
    </table>
    </td>
    <td width="50" ></td>
    </tr>
    <tr>
    <td width="122" height="100%"></td>
    <td width="150" height="100%"></td>
    <td width="150" height="100%"></td>
    <td width="150" height="100%"></td>
    <td width="30" height="100%"></td>
    <td width="50" height="100%"></td>
    </tr>
    </table>

  4. #4
    Originariamente inviato da star23
    <table width="602" height="411" border="0" cellspacing="0" cellspacing="0">
    <tr>
    <td width="365" style="line-height:15px; text-align:justify; padding-left:30px;" height="381" valign="top" rowspan="4">
    <span class="testo_grigio">
    21.06.2006
    </span>
    <span class="titolo_blu">
    HOME TITOLO MODIFICABILE COLORE CORPO GRASSETTO
    </span>
    <span class="testo_nero">
    Our mission is to integrate our <FONT color=red size=6>skills</FONT> and knowledge with the ones of our customers, creating an Integrated Company. We call ourselves SYSTEM, because we are, a mechanism
    where knowledge and expertise exploit all technical and quality aspects...

    </span>
    </td>
    <td width="30" style="border-right:1px solid #cccccc" rowspan="4">
    </td>
    <td width="207" style="border-bottom:1px solid #cccccc; padding-left:5px;padding-right:5px;padding-top:0px; padding-bottom:0px;" height="195" valign="top" align="left"></td>
    </tr>
    <tr>
    <td width="207" style="border-bottom:1px solid #cccccc; padding-left:5px;padding-right:5px;padding-top:0px; padding-bottom:0px;" height="108" valign="top" align="left">
    <span class="titolo_nero">
    DOWNLOAD
    </span>
    <span class="testo_nero">
    </span>
    </td>
    </tr>
    <tr>
    <td width="207" style="padding-left:5px;padding-right:5px;padding-top:0px; padding-bottom:0px;" height="108" valign="top" align="left">
    <span class="titolo_nero">
    LINK</span>
    <span class="testo_nero">
    </span>
    </td>
    </tr>
    <tr><td width="207"></td></tr>
    </table>
    </td>
    <td width="50" ></td>
    </tr>
    <tr>
    <td width="122" height="100%"></td>
    <td width="150" height="100%"></td>
    <td width="150" height="100%"></td>
    <td width="150" height="100%"></td>
    <td width="30" height="100%"></td>
    <td width="50" height="100%"></td>
    </tr>
    </table>

    È un codice senza ne capo ne coda...
    ci sono due errori gravi (te li ho segnati in rosso)
    io abbandonerei subito questa soluzione, andandomi a leggere come si utilizzano i <div> al posto delle tabelle per definire gli ingombri.
    Se invece vuoi proseguire con le tabelle ti consiglio cmq di leggerti qualcosa riguardo i CSS, per attribuire valenze grafiche agli elementi html

    ciaux

  5. #5
    Utente di HTML.it
    Registrato dal
    Sep 2001
    Messaggi
    165
    grazie

    provo a riverificare per l'nsima volta il codice, e se proprio abbandono la tabella...

  6. #6
    sarebbe carino imparare ad usare correttamente i molti marcatori (X)HTML

  7. #7

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 © 2025 vBulletin Solutions, Inc. All rights reserved.