set list items next to each other css code example Example: css list items next to each other ul li{ display: inline-table; }