Using css: making elements stack left not below on newest questions tagged css – Stack Overflow

i am not able to explain it correctly….but here it is….i want DIVs to float left in the container such that…when their total width increases the width of the container…they will make a horizontal scroll-bar but will not go below one another in any case…
like if the container’s width is 500px;
and it contains 5 children DIVs each of 200px width
now when i float then left…they stack like 2 in a row and 2 in the next row….eg:
div1 div2
div3 div4
div5
i want them something like this :
div1 div2 div3 div4 div5
with scroll-bar…

See Answers


source: http://stackoverflow.com/questions/11924339/making-elements-stack-left-not-below
Using css: using-css



online applications demo