centrer elements dans une nav code example
Example: bar d'exemple navigation horizontale css
<nav class="navigation">
<ul>
<li class="nav">FindThePrecious.com</li>
<li class="nav">Fellows</li>
<li class="nav">Contact us</li>
</ul>
</nav>
/*css */
.navigation{
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
}
.nav{
float: left;
}
.nav{
display: block;
color: rgb(219, 206, 20);
text-align: center;
padding: 14px 16px;
text-decoration: none;
}