Fixed with inline-block and removing left float on li elements. Removed divider lines on li because inline-block introduces an extra, unremovable space.