flex
EF
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<style type="text/css">
/*li*/
-sharpnav
{
/*width: 80%;*/
margin: 0 auto;
border: 2px solid -sharp00CED1;
}
ul,li /*ul limargin padding */
{
margin: 0px;
padding: 0px;
list-style: none;
}
ul /**/
{
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
li
{
border: 1px solid;
width: 300px; /**/
text-align: center;
margin-top: 10px;
margin-bottom: 10px;
flex:auto; /**/
}
</style>
</head>
<body>
<div id="nav">
<ul>
<li>AAAA</li>
<li>BBBB</li>
<li>CCCC</li>
<li>DDDD</li>
<li>EEEE</li>
<li>FFFF</li>
</ul>
</div>
</body>
</html>