<li> elements as inline by using display:inline;.
By default, <li> elements are block elements. Here, we remove the line breaks before and after each list item, to display them on one line.
| In the example above the links have different widths.
For all the links to have an equal width, float the <li>elements and specify a width for the<a>elements: | 
 | 
float:left—Gets block elements to slide next to each other.
 display:block—Displays the links as block elements makes the whole link area clickable (not just the text).
 width:100px—Specifies the width of the links to 100px.