Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 67469

Center elements on Zurb Foundation Top-Bar

$
0
0

I have a top nav-bar made with Foundation 5.

The elements on the nav-bar should be centered. I realize that this question has been asked before(for example here), but none of the answers provided so far have worked. You can see the problem also elsewhere.

As a perfect example of non-centered elements on a nav-bar, check the "Base 2013" template on this website. Download it and open the index.html and you'll see the problem right there.

Various methods have not worked for me so far. Some of the failed experiments:

Set margin: 0px auto; to the <ul> or other elements.

Same applies to text-align:center;.

Any ideas on how to center the elements on this nav-bar?


Viewing all articles
Browse latest Browse all 67469

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>