I’ve seen this asked a few times on SO, and the same answers are given which do not work on my end in Chrome or Firefox.
I want to make a set of left-floated divs run off, horizontally a parent div with a horizontal scroll bar.
I’m able to demonstrate what I want to do with this crappy inline css here: http://jsfiddle.net/ajkochanowicz/tSpLx/3/
However, from the answers given on SO*, this should work but does not on my end.
http://jsfiddle.net/ajkochanowicz/tSpLx/2/
Is there a way to do this without defining absolute positioning for each item?
This should be all you need.
.float-wrap keeps space open for the
divs. Because it will always maintain at least enough space to keep them side-by-side, they’ll never need to wrap. .outer provides a scroll bar, and sizes to the width of the window.