Reputation: 1603
I'm making this navbar in CSS which you can view at http://jsfiddle.net/JVgzW/
The <a>
tag goes directly down the navbar, and I've tried fixing it by doing display:block
and stuff like that, but what do I do?
Upvotes: 1
Views: 55
Reputation: 42166
Have a look: http://jsfiddle.net/JVgzW/1/
I've added:
#navbar li{
display: inline-block;
}
and text-align: center;
to your #navbar
Upvotes: 3