I have the following code snippet...
<div class="header">
<div class="mainh">
<div class="table">
<ul>
<li><a>smth</a></li>
<li><a>smth</a></li>
<li><a>smth</a></li>
<li><a>smth</a></li>
<li><a>smth</a></li>
</ul>
</div>
</div>
</div>
I am looking to have the ul
, li
, and a
elements display in a single line with even spacing between them. How can I achieve this?
Additionally, I attempted the following:
div.table ul li a {
display: block;
}
...but it did not change the alignment as desired.