.gallery_demo li {list-style-type: none; /* get rid of the bullets */float: left; /* line them up horizontally */}
you'll have to fix the widths and margins though, they'll line up a bit wonky