14

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 carriage returns when I press Enter or Shift+Enter, and even saves them, but it does not seem to display them.

6 Answers 6

7

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.

2
  • That eats up some precious characters, but the best solution so far!
    – nic
    Jan 24, 2014 at 0:49
  • For windows, hold Alt and press 0160, release Alt, and repeat. Works for me - twitter.com/imdsm Feb 13, 2014 at 14:51
8

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.

6

Use   to pad out your bio to force it to a new line. It takes up more space than   so if you need a lot of space you can use it instead.

0
3

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.

1

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

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

1
  • 1
    +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, 2013 at 1:15
0

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.

1
  • 1
    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, 2015 at 1:49

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