I'd like to put a group of div elements of fixed width into a container and have the horizontal scroll bar appear. The div/span elements should appear in a line, left to right in the order they appear in the HTML. (essentially unwrapped)
This way the horizontal scroll bar will appear and can be used instead of the vertical scroll bar for reading through the content (left to right).
I've tried floating them in a container and then putting a "white-space:nowrap" style on the container, but alas, it still seems to wrap. Ideas?
It looked like this:
<style>
.slideContainer {
white-space: nowrap;
}
.slide {
width:800px;
float:left;
display:inline;
}
</style>
<div class="slideContainer">
<div class="slide">Some content</div>
<div class="slide">More content</div>
<div class="slide">Even More content!</div>
</div>
Update: See site for examples, but they were wrong about not being another way - I'm sure the article is old though.