Instead of swimming, set them to display:inline-block;. Set the contained element to overflow:hidden;, and then you can use the script to scroll them using any number of means, for example, to adjust the field for the first element or to transfer them to another element and change the attribute left(you need to set positionif you go this route).
Edit: you also need to install white-space:nowrap
See this working script: http://jsfiddle.net/D8bea/
source
share