Hacker News new | ask | show | jobs
by ChrisGranger 4231 days ago
I saw an example of that on a JavaScript-related site recently, where a guy's username was aaa...aaa several hundred characters long, causing a ludicrous horizontal scroll bar. You'd think it would be easy enough to say upfront during account creation that both usernames and passwords are limited to x characters.
1 comments

That is what this css is for:

  overflow:      hidden;
  text-overflow: ellipsis;