Space between text and border?

I had set your anchor as a block and li as inline-block in your other thread. It is always troublesome trying to style inline elements in a menu.

Also note, the height you have on your anchor is not taking effect since you have it as the default of inline. Only blocks can take dimensions (which you don’t need anyway)

2 Likes