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