Maz: Scrollbar in einer Tabelle, wie?

Beitrag lesen

Moinsen,

stichwort: overflow

ich guck grad mal und teste, da ich overflow noch nie auf TDs angewendet hab:

  
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">  
<html>  
<head>  
<title>Test</title>  
<style type="text/css">  
  
table{  
}  
  
td{  
 width: 200px;  
 height: 50px;  
 border: 1px solid #F00;  
 overflow: auto;  
}  
  
div{  
 width: 200px;  
 height: 50px;  
 border: 1px solid #000;  
 overflow: auto;  
}  
  
</style>  
</head>  
<body>  
  
<table>  
<tr>  
 <td>eins</td>  
 <td>zwei<br>zwei<br>zwei<br>zwei<br>zwei<br>zwei<br>zwei<br>zwei<br>zwei<br>zwei<br>zwei<br>zwei<br></td>  
</tr>  
</table>  
  
<div>test</div>  
<div>zwei<br>zwei<br>zwei<br>zwei<br>zwei<br>zwei<br>zwei<br>zwei<br>zwei<br>zwei<br>zwei<br>zwei<br></div>  
  
</body></html>  

und wunder mich doch etwas, weil das overflow keine Wirkung auf die TD hat. Hab ich was falsch gemacht?

--
cu,
Maz