Visualizzazione dei risultati da 1 a 9 su 9

Discussione: accapo dentro tabella

  1. #1

    accapo dentro tabella

    codice:
    <html>
    
    <head>
    <title>$title</title>
    <link rel="stylesheet" href="style.css" type="text/css" />
    </head>
    
    
    <body>
    
    <table width="760" border="0" align="center">
    <tr>
    <td valign="top">
    <table width="100%" border="0" align="center">
    <tr>
    <td valign="top">1</td>
    <td valign="top">2</td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td valign="top">
    <table width="100%" border="0">
    <tr>
    <td width="130" valign="top">
      <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <th scope="row">[img]images/ml1.gif[/img]</th>
        </tr>
        <tr>
          <th scope="row" background="images/bgm.gif"></th>
        </tr>
      </table>
     </td>
    <td width="500" align="center" valign="top">
    <table width="100%" border="0">
      <tr>
        <td width="100%">3333333333333333333333334433333333333333333333333222222222222</td>
      </tr>
    </table>
    </td>
    <td width="130" valign="top">
    [img]images/ml1.gif[/img]
    </td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </body>
    
    </html>
    Come potete vedere, scrivendo un testo nella tabella di centro troppo lungo tutta la tabella si allarga.

    Come posso fare?

  2. #2
    Utente di HTML.it L'avatar di mexican
    Registrato dal
    Oct 2001
    residenza
    cava de tirreni
    Messaggi
    3,541

    dai le dimensioni

    in pixel ai td così andrà da solo a capo

  3. #3
    Non va, ora è modificato in questo modo:
    codice:
    <html>
    
    <head>
    <title>$title</title>
    <link rel="stylesheet" href="style.css" type="text/css" />
    </head>
    
    
    <body>
    
    <table width="760" border="0" align="center">
    <tr>
    <td valign="top">
    <table width="100%" border="0" align="center">
    <tr>
    <td valign="top">1</td>
    <td valign="top">2</td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td valign="top">
    <table width="760" border="0">
    <tr>
    <td width="130" valign="top">
      <table width="130" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="130">[img]images/ml1.gif[/img]</td>
        </tr>
        <tr>
          <td width="130" background="images/bgm.gif">ddddd</td>
        </tr>
      </table>
     </td>
    <td width="500" align="center" valign="top">
    <table width="500" border="0">
      <tr>
        <td width="500">3333333333333333333333334433333333333333333333333222222222222</td>
      </tr>
    </table>
    </td>
    <td width="130" valign="top">
    [img]images/ml1.gif[/img]
    </td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </body>
    
    
    </html>
    Come posso fare? :master:

  4. #4
    Prova ascrivere del testo con parole di lunghezza normale altrimenti se scrivi tutto attaccato viene preso come una parola unica e non viene spezzata.
    Colleziono problemi matematici divertenti o strani e li raccolgo nel mio sito. Se me ne mandate qualcuno vi ringrazio. flan

  5. #5
    Io ho visto forum nei quali va a capo in ogni caso, e se non erro pure in questo lo fa...

    Prova:

    fdasfisadufiusdaofiusdaiofuosiaudfoisadufoidsufoid saufoiudsaoifusdaiofusadoiufiodsaufodisaufdsaoufoa sdfuaoisfuiosadfuoidsaufosdufdoisauifodsauoif
    SGr33n

  6. #6
    mi pare che il tag <code> possa fare al caso tuo

    salute
    temporaneamente forumista eastwoodiano

    www.motoclubgame.it

  7. #7
    Originariamente inviato da gildocaena
    mi pare che il tag <code> possa fare al caso tuo

    salute
    Ciao!

  8. #8
    quoto :P :makestaidicendo:
    SGr33n

  9. #9
    Ho risolto grazie a flanza.

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.