Click to See Complete Forum and Search --> : CSS block for anchor


PhilgB
04-29-2003, 07:27 AM
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,
Phil

jeffmott
04-29-2003, 09:04 AM
For inline elements you will have to increase the size of the line-height property for any top/bottom styles to be visible.

PhilgB
04-29-2003, 11:57 AM
Perfect, thanks!