Trying to make a menu with LI and center the text of the links. And to indent between the links was not. But, unfortunately, nothing comes out: the text is not aligned vertically, and the indents between the elements are preserved.
ul.menu { list-style-type: none; margin: 0; padding: 0; overflow: hidden; background-color: #333; height: 100px; } ul.menu li { display: inline-block; padding: 0; margin: 0; height: 100%; width: 75px; background-color: red; text-align: center; } <div style="width:100%"> <ul class="menu"> <li><a>some</a></li> <li><a>some</a></li> <li><a>some</a></li> </ul> </div> What is done here is not true. help me please