MyBB Community Forums

Full Version: Long usernames widen the column
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Where exactly do I add the code in global.css? Maybe I added it in the wrong place, so it's not working.
.post_username { 
 display:inline-block;
 max-width:40px;
 word-wrap: break-word; /*CSS3*/
 -ms-word-break: break-all; /* The -ms-word-break attribute is an extension to CSS, and can be used as a synonym for word-break in IE8 Standards mode.*/
 white-space: pre-wrap;
 word-break: break-all;
 }

paste it at the bottom in your global.css (and you'll need to add post_username class to span tag that is wrapping username variable in postbit).
Ok, thank you, it's working.
Pages: 1 2