HTML
<div class="wrapper join-links">
<ul>
<li><a href="link">Whatever</a></li>
<li><a href="link">Something</a></li>
</ul>
</div>
CSS
.join-links li {
float:left;
margin-right:20px;
}
Is it somehow possible to align both links “centered” or “justified” inside of the sorrounding wrapper div?
edit: And I also wonder if I can align them right?
Change
float: lefttodisplay: inlineto give you:You can then use text-align on the parent div.
Example centre align
Example right align