Reputation: 22519
http://glowing-fire-495.heroku.com/users/3
I was wondering if anyone knows why the tags in the yellow box is cut off like that on the right side?
How can I make it so it doesnt do that?
Upvotes: 0
Views: 377
Reputation: 12432
Change the margin
and display
in#tagsDiv a
to:
#tagsDiv a {
margin: 2px;
display: inline-block;
}
Tested with Firebug, looks alright. The code above will keep it from being cut off, and it'll space them out a little bit so they aren't top-to-bottom.
Upvotes: 1
Reputation: 287845
The tag is not cut off, there is just an (automatically inserted) line break in its text. Set
white-space: nowrap;
on the tag elements.
Upvotes: 0