Tableaux html

Bonjour,

j'ai un problème je fais des tableaux en html et pour la première fois tous les mots que j'écris vont a la ligne automatiquement meme si il fait toute la largeure de la page.

quelqu'un pourrai il m'aider

ca marche très bien sous FF
Configuration: Windows XP
Internet Explorer 6.0

3 réponses

  1. Bonsoir,

    un petit bout de code pour voir les with de la table et des colonnes.
    1. style :
      #site {
      position: absolute;
      z-index: 1;
      top: 10%;
      left : 10%;
      width : 80%;
      color: #000;
      height : 89%;
      background-color: #b4b5b4;
      padding: 5px;
      border: 1px solid #baff9b; 
      }
      table {
      border-collapse:collapse;
      border-width:1px; 
      border-style:solid; }
      .grise {
      border-width:1px; 
      border-style:solid; 
      border-color:blue;
      background-color:white;
      }
      
      .blue {
      border-width:1px; 
      border-style:solid; 
      border-color:blue;
      background-color:lightgreen;
      }
      }
      th, td {
      width:15px;
      }
      td {
      text-align:center;
      }


      et un tableau

      <table width='100%'><tr><td class='grise'><img src='http://www.ac-nancy-metz.fr/academie/images/anim-panneau-attention.gif' border=0 width='25px'/>Le nombre choisit est légèrement trop grand les calculs se sont arretés prématuréments. Cepandant il est possible que le PGCD donné soit exact.</tr><td></table>
      1. Bonsoir,

        le problème vient de là
        th, td {
        width:15px;
        }
        td {
        text-align:center;
        }