Gernot Back: Tabelle / DIV und dynamische Inhalt ändern

Beitrag lesen

Hallo Martin,

Wie muss ich den Text "richtig" ändern, damit die Zelle die Breite behält?

Hast du schon mal das probiert?

http://de.selfhtml.org/css/eigenschaften/positionierung.htm#max_width

HTML:
<form name="choice" action="edit">
 <table align="center"
        style="table-layout:fixed;
               width:570px;

max-width:570px;
                  min-width:570px;
                  text-align:center;

background-color:#C0B2D2;">
  <tr class="blank">
   <td class="blank" style="width:555px">
    <div style="font-size:11pt;margin:5px">
     Please select the table you want to edit and click
     on &quot;go!&quot;.
    </div>
  </td></tr>
  <tr class="blank">
   <td class="blank" style="width555px;
                     padding-left:8px;
                     padding-bottom:5px">
    <select style="width:500px" name="tablename" size="1"
     onChange="describe(document.choice.tablename.value)">

<option value="Wert1">Laber1</option>
     <option value="Wert2">Laber2</option>
     <option value="Wert3">Laber3</option>
    </select>
    &#160;
    <div class="button"
         onClick="document.forms[0].submit()">go!</div>
   </td></tr>
   <tr class="blank">
    <td id="description" class="blank"
        style="width:555px; height:120px;

max-width:555px;
                  min-width:555px;

background-color:#a3b3c7;
               padding:5px; margin:5px; font-size:11pt">
      &#160; <!-- Zu beginn leer -->
    </td>
   </tr>
  </table>

Gruß Gernot