I'm having trouble centering inline lists when using Zurb Foundation 4.
The pre-created css classes "text-center" and "centered" work fine for other elements, but not for lists.
A review of the older question regarding images has similar results.
This does not work:
<div class="row"> <div class="large-12 columns text-center"> <ul class="inline-list"> <li><a href="#">One</a></li> <li><a href="#">Two</a></li> <li><a href="#">Three</a></li> <li><a href="#">Four</a></li> <li><a href="#">Five</a></li> </ul> </div> </div>
However, on deletion, this does the job (but obviously is not the preferred markup):
<div class="row"> <div class="large-12 columns text-center"> <a href="#">One</a> <a href="#">Two</a> <a href="#">Three</a> <a href="#">Four</a> <a href="#">Five</a> </div> </div>
You have a suggestion on how this style can affect the list.
Thanks.
source share