Which of these options will be the most correct?
ul{ border:1px black solid; } li{ display:inline-block; width:16%; } a{ display:inline-block; padding:12px 0; background:red; width:100%; } <ul> <li><a href="#">123</a></li> <li><a href="#">123</a></li> </ul> ul{ border:1px black solid; } li{ display:inline; } a{ display:inline-block; padding:12px 0; background:red; width:16%; } <ul> <li><a href="#">123</a></li> <li><a href="#">123</a></li> </ul>
widthnot in percentage, but in pixel, codepen.io/Geyan/pen/aBBQxO?editors=1100 - user33274