Spread li within ul equally regardless of the number of items
ul{ list-style: none; padding: 0; margin: 0; display: table; width: 100%; } ul li{ display: table-cell; }