Here, in general, the designers of the Lord, what advice they put on kx, kx in general, any list should be arranged according to semantic value, and this ul>li>a
is the screen of what happens in this case 
lower example in snippet
*{ margin:0; padding:0; } .menu { border-left: 28px solid red; border-right: 28px solid red; text-align: center; } .menu li{ list-style:none; display:inline-block; height:40px; background:green; line-height:40px; padding:0 10px; } .menu a { text-decoration: none; color: #fff; display:block; width:100%; height:100%; text-align:center; } .menu li:hover{ background:darkgreen; }
<div class="menu"> <ul> <li><a href="/">ΠΠ»Π°Π²Π½Π°Ρ</a> <li><a href="/">Π ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠΈ</a> <li><a href="/">ΠΡΠΎΠ΄ΡΠΊΡΠΈΡ</a> <li><a href="/">ΠΠ΄Π΅ ΠΊΡΠΏΠΈΡΡ</a> <li><a href="/">ΠΠ°Π»ΡΠΊΡΠ»ΡΡΠΎΡ</a> <li><a href="/">ΠΠΎΠΊΡΠΌΠ΅Π½ΡΠ°ΡΠΈΡ</a> <li><a href="/">ΠΠΎΠ²ΠΎΡΡΠΈ</a> <li><a href="/">ΠΠΎΠ½ΡΠ°ΠΊΡΡ</a> </ul> </div>
But still, if itβs so necessary to make a menu without a bulleted list, then hereβs an example of what happens. 
*{ margin:0; padding:0; text-decoration:none; } .menu{ width:100%; height:auto; background:#fff; border-left:20px solid darkgreen; border-right:20px solid darkgreen; box-sizing:border-box; } menu{ display:table; margin:auto; height:50px; line-height:50px; background:#FFF; } menu a{ padding:17px 10px; background:lightgreen; } menu a:hover{ background:darkgreen; color:#fefefe; }
<div class="menu"> <menu> <a href="">ΠΠ»Π°Π²Π½Π°Ρ</a> <a href="">ΠΠΎΡΡΠ΅Π²Π°Ρ</a> <a href="">Π€ΠΎΡΡΠΌ</a> <a href="">ΠΠ»ΠΎΠ³</a> <a href="">ΠΠ±ΠΎ Π²ΡΡ</a> <a href="">ΠΡΠΈΠΌΠ΅ΡΡ</a> <a href="">ΠΠ°Π΄Π°ΡΠΈ</a> <a href="">Π Π½Π°Ρ</a> </menu> </div>
And this example on codepen in general, though not on the topic of the issue, but a super solution + adaptive
.menu a
propertyfloat: left;
- Maqsood