On the right-hand side of the page there is a long list of tags. Tags are a styled unordered list, with a border for the a element.

In Safari and Chrome, the last tag on each line doesn't have a right border. If I use white-space: nowrap; on the a or the li instead of nobr inside it, I still have the border problem.

CSS for the tags is in the Inline style block.

Thanks for any hints!

1 answer

Simon 75
This was chosen as the best answer

Try adding a display:block; to your tags, as I think white-space tag is restricted to block level elements.

Apologies if i'm off base :-S

Answered almost 10 years ago by Simon
  • display:inline-block; did the trick. Thanks for pointing me in the right direction. Matt Miller almost 10 years ago