Jiew Meng
Jiew Meng

Reputation: 88367

Need help with horizontal menu with icon centered above each link

So far I have something like

http://jsfiddle.net/7KxTQ/

but the problem is I can't figure out how to center the icon

Upvotes: 0

Views: 436

Answers (1)

thirtydot
thirtydot

Reputation: 228282

To #mainnav ul li a:link:before, #mainnav ul li a:visited:before, add:

margin: 0 auto

Live Demo

Upvotes: 2

Related Questions