I have a div with the following style:
height:200px; overflow-x:scroll; overflow-y:hidden; width:682px;
I need the elements to be next to each other on the same line, only with horizontal scrolling. Elements inside have the following styles:
width:60px; padding:10px; float:left;
But when they reach the end of the parent div, they start on a new line, and the horizontal scroll remains empty. Any ideas what I'm doing wrong and how to fix it?
PS All elements of div-s.
Thanks in advance!
source share