Hello,
my problem is very simple. I have:
<div id="enclosing" >
<div id="d1">
<span id="s1">S1</span>
<span id="s2">S2</span>
<span id="s3">S3</span>
</div>
</div>
I'd like these three SPAN elements to always stay in one row, instead of
wrapping to the next line if the "enclosing" DIV is too small. It's OK
to force scrollbars, since the arrangement is more important than
visibility in this particular case.
I can artifically achieve this by setting the "d1" width to 1000% but
that's ugly and I'm sure I'm missing something obvious. I could also
use a table but want a CSS solution if possible.
Thank you very much for any help.
Ted
my problem is very simple. I have:
<div id="enclosing" >
<div id="d1">
<span id="s1">S1</span>
<span id="s2">S2</span>
<span id="s3">S3</span>
</div>
</div>
I'd like these three SPAN elements to always stay in one row, instead of
wrapping to the next line if the "enclosing" DIV is too small. It's OK
to force scrollbars, since the arrangement is more important than
visibility in this particular case.
I can artifically achieve this by setting the "d1" width to 1000% but
that's ugly and I'm sure I'm missing something obvious. I could also
use a table but want a CSS solution if possible.
Thank you very much for any help.
Ted
Comment