Home › Forums › CSS › Float items › Re: Float items
September 19, 2012 at 10:05 pm
#110419
Member
Here is another option for you: http://jsfiddle.net/joshnh/mTKFy/
It uses @HugoGiraudel’s concept, @wolfcry911’s technique and some slight changes/additions of my own: mainly, the use of inline-block and text-align center to ensure that the list will adapt (and stay centered) if the number of list items changes.
UPDATE: I have also configured it to scroll horizontally once the viewport isn’t wide enough!