When you say ‘next to each other’ I’m presuming you want them to appear in a single row.
If so, the container div width needs to be set at 100% (the entire width of the screen).
Then I think you can set the dynamic list to single-column. If you give each of the entries a fixed width (say 150px) and float: left.
Let me know how you get on!