Inita: fließtext - white-space:nowrap?

Beitrag lesen

hoi,

du kannst auch width in einem div legen:

<div style="width:300px">
<span class="t">1</span>
<span class="t">2</span>
<span class="t">3</span>
<span class="t">4</span>
<span class="t">5</span>
</div>

oder

ich hab auch ne Beispiel ohne width, ohne tables:

  
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  
"http://www.w3.org/TR/html4/loose.dtd">  
<html>  
<head>  
<title>BoWa</title>  
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">  
<style type="text/css">  
html,body{  
    width:100%;  
    margin:0;  
    padding:0;}  
p{  
 padding:6px 0;  
 margin:0}  
#ib{  
    width:90%;  
    padding:0;  
    margin:0;  
    height:200px;  
    border:1px solid red;  
    display:table;  
 background:#ccc}  
</style>  
</head>  
<body>  
    <div id="ib">  
  <span>  
   <div style="display:table-cell;border:1px solid #F00">  
    <p>box box box box box box box box box box box box inix</p>  
    <p>box box box box box box box box box box box box inix</p>  
    <p>wwwwwwwwwwwwwwwwwwwwwwwwwwww</p>  
   </div>  
   <br />  
   <div style="display:table-cell;white-space:pre;border:1px solid #FF00FF">wwwwwwx wwwwwwwwww  wwwwwwwwwwww wwwwwwww wwwwwwww wwwwww</div>  
   <p>box</p>  
   <p>box</p>  
  
  </span>  
 </div>  
</body>  
</html>