I try to have an equal distance between four different elements li, but in the end I get the following:

HTML:
<ul><li>Inbox</li></li><li>Drafts</li></li><li>Sent</li></li><li>Trash</li></ul>
CSS
ul li {
width: 25%;
display: inline-block;
text-align: center;
}
I tested CSS and it works as it should. I think the problem is that linot everyone has the same number of letters, so you get some weird visual effects. My reason for this is:

(Equal distance)
source
share