3 ms·
To keep username from ruining the front-end. If I had a 2,000 character username, this page would look really stupid.
by mod 12y ago
To keep username from ruining the front-end.
If I had a 2,000 character username, this page would look really stupid.
- ChrisGranger 12y agoI 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.
- mike-cardwell 12y agoThat is what this css is for: overflow: hidden; text-overflow: ellipsis;