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

Beitrag lesen

hallo.

Ich bin kein CSS-Experte, also frag' ich mal nach:

Im Folgenden *schnipsel* stehen in Zeile eins die zahlen
1 bis 5, in Zeile zwei die Zahlen 6 bis 10 - ok, soweit..

Nur, wie erreiche ich, dass _kein_ automatischer Zeilenumbruch
(white-space?) auftritt, wenn das browser-fenster kleiner wird..?

(hier ist, was ich meine: http://img105.imageshack.us/img105/3508/kkuyp2.gif )

<html>

<head>

<style type="text/css">
span.t{display:block;float:left;text-align:center;width:20px;background-color:#eee;color:#333;border:1px solid #333;white-space:nowrap;}
</style>

</head>

<body>

<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>

<br/>

<span class="t" style="clear:left;">6</span>
<span class="t">7</span>
<span class="t">8</span>
<span class="t">9</span>
<span class="t">10</span>

</body>

</html>

Grüße,
-hubertus