Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

My Twitter bio looks bad because the line is split at unfortunate places.

Can I force a line break at a particular place?

The form at https://twitter.com/settings/profile inserts a carriage returns when I press Enter or Shift+Enter, and even saves them, but it does not seem to display them.

share|improve this question

6 Answers 6

up vote 5 down vote accepted

Solution: Put an equal number of non-breaking spaces around your first line.

What to type: enter image description here

Demo: @maxMRE

How to type a non-breaking space:

  • Ubuntu: Shift+AltGr+[space] on a french (variant) keymap.
  • Anything else: Your mileage may vary, you have plenty of answers a few keystrokes away.

Copy-pasting non breaking spaces directly in the twitter textarea did not work, I had to type them directly. I wish the web didn't make it so hard to get nice typography.

share|improve this answer
    
That eats up some precious characters, but the best solution so far! –  nic Jan 24 '14 at 0:49
    
For windows, hold Alt and press 0160, release Alt, and repeat. Works for me - twitter.com/imdsm –  Adam K Dean Feb 13 '14 at 14:51

Use   to pad out your bio to force it to a new line.

share|improve this answer
    
Little explanation would be more helpful. –  serenesat Aug 22 at 6:38
    
Really? It's the exact same thing as all of the other answers. It takes up more space than   so if you need a lot of space you can use it instead. –  Alex Beals Aug 22 at 15:40

Just spent about 15 minutes trying every method listed. Finally got it to work by using nbsp;. Example below:

    .Thinker. Planner. Organizer.              CEO @weBounty

You're limited to how many you can use due to character limit.

share|improve this answer

In the edit box press (do not release Alt button while you are pressing numbers):

Alt + (in numpad) 255

after you release the Alt button, it will create a white space. Copy that and use as much you need.

Source.

share|improve this answer
    
I am on Linux and ALT+255 does something else... could you please copy-paste that character to your answer, so that anyone can easily copy-paste it? Do you know how this character is called? Thanks! –  nic Jan 19 at 1:49

I used fillers (- - - hyphens and spaces - - -)

it seemed to work for me well enough as a hack https://twitter.com/tomstafford

share|improve this answer
    
+1 Interesting approach! Does it do the trick on all browsers, including mobile browsers? I guess it does not play that well with third-party Twitter clients? –  nic May 12 '13 at 1:15

I fetched my twitter profile with the Twitter API. Here is how it looks -

... "screen_name":"iAmBibhas","location":"Bangalore, India","description":"Hungry and lazy developer.\r\nCurrently building @lxidd. ","url":"http:\/\/bibhas.in", ...

As you can see, there is \r\n just before Currently building @lxidd. That means the line breaks are being saved in Twitter database. They just remove it while showing on the profile page. Any 3rd party app that fetches this information, will have that line break, unless removed explicitly.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.