
Originally Posted by
I-llumination
Thanks for the reactions.
I think I haven't been really clear, my mistake. I meant the (in CSS terms) overflow-x. So I only want the <-----> scrollbar to be visible and the content should stay on one line. So the last thing I want is adding break-tags, cause that is exactly the behaviour I dont want. But thanks for the suggestion boogyman.
That's what I suspected. What threw me (and boogyman, I assume) off was that you have vertical written in the subject.
Maybe you want to post some code or a link to your site where this is happening. I'm having trouble imagining what you're looking for.
If you add overflow-x:auto to a div's CSS, the horizontal scroll bar should appear, given that it's contents are larger than the containing div. That means you need to explicitly state the width on both the container div and the contained div.
Example:
HTML Code:
<div id="overflow">
<div id="inner">
Your Content
</div>
</div>
CSS:
Code:
#overflow { overflow-x:auto; width:500px; }
#inner { width:800px; }
Bookmarks