Axel Richter: spaltenbreite auf tabellenbreite maximieren

Beitrag lesen

Hallo,

table width=600

|<- optisches ende der seite
+-+-+----------------+-+-+ |
| | |bezeichnung     | | | |
+-+-+----------------+-+-+ |
| | |bezeichnung     | | | |
+-+-+----------------+-+-+ |
| | |bezeichnung     | | | |
+-+-+----------------+-+-+ |
                           |
habt ihr vorschläge?

So?

  
<table width="600" border="1">  
<colgroup>  
 <col width="20">  
 <col width="20">  
 <col width="*">  
 <col width="20">  
 <col width="20">  
</colgroup>  
<tr>  
 <td>1</td>  
 <td>2</td>  
 <td>Bezeichnung</td>  
 <td>3</td>  
 <td>4</td>  
</tr>  
<tr>  
 <td>1</td>  
 <td>2</td>  
 <td>Bezeichnung</td>  
 <td>3</td>  
 <td>4</td>  
</tr>  
</table>  

Siehe http://de.selfhtml.org/html/tabellen/aufbau.htm#vordefinieren und http://www.w3.org/TR/html4/struct/tables.html#h-11.2.4.2.

viele Grüße

Axel