CSS block for anchor

windows

Guest
I am trying to create a menu with CSS but my links are giving me trouble. When I style the links this way they are, I cant set a top/bottom border, and same with top/bottom padding.

When I change it to 'display:block', the styles are applied but they each get placed on a new line. How can I keep them on the same line?

Thanks,
PhilFor inline elements you will have to increase the size of the line-height property for any top/bottom styles to be visible.Perfect, thanks!
 
Back
Top