I am having the following Markup and I am trying to justify my list along my uls width like so:
ul {
width: 100%;
text-align: justify;
}
ul::after {
content: '';
display: inline-block;
width: 100%;
}
li {
display: inline-block;
}
<ul>
<li>some text</li>
<li>some text</li>
<li>some text</li>
<li>some text</li>
<li>some text</li>
<li>some text</li>
</ul>
Actually this is a common method to distribute items along their parents width. But for some reason it doesn't work in my current project. Any ideas you could share?
UPDATE
see this fiddle for a more authentic markup and style I am using: https://jsfiddle.net/gqL8rqje/