Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Somehow I accident made text input in any text box becomes right alignment (OS-wide). I guess it might be 'windows+(somekey)' or 'ctrl+(somekey)'. Does anyone know this shortcut? and how to restore it back to default left alignment. Thanks!

share|improve this question
Text boxes like on web sites? (That would be odd.) – Arjan Mar 1 '10 at 19:10
(Not too odd, after doing some more testing given Bavi_H's answer.) – Arjan Mar 2 '10 at 7:05
up vote 5 down vote accepted

Perhaps your computer has multiple languages installed and one is a right-to-left language? In Windows XP, you can set either Left Alt+Shift or Ctrl+Shift to change the language.

If the Language Bar is enabled, you can also click on it to change the language and keyboard layout.

share|improve this answer
I figured that when RTL (right-to-left) was enabled, typing would .neht siht ekil gnihtemos dleiy Likewise, I expected that selecting text would be from right to left as well. But though that is true for true RTL languages, typing and selecting does not seem to go backwards when typing LTR (left-to-right) within a RTL selection (try to select the text in "مرحبا العالم ، مرحبا missingspace ، لترى ما أعنيه." from… to see what I mean.) So, I guess you're right, somehow RTL is activated! – Arjan Mar 2 '10 at 7:07

The shortcut is Ctrl+Right Shift to make the text right-to-left, and Ctrl+Left Shift to make the text left-to-right again. This works in almost any text box.

This isn't related to the current input language. However, it only occurs if a right-to-left language is installed.

share|improve this answer
I believe that this is the answer to the question that was asked. – David Alpert Mar 18 '11 at 0:59

For any text box, just press Ctrl+Shift+X for both alignments.

share|improve this answer

There is no "OS-wide" hotkeys that will do this for every application, but in general, Microsoft typically uses these 3 shortcuts for text alignment in their programs:

Ctrl + L - Align text left

Ctrl + E - Align text center

Ctrl + R - Align text right

Some programs will follow this and some won't. It's application specific really.

share|improve this answer
Spot on with those for apps, especially Word, PowerPoint, Outlook. NB as well: Ctrl + J = Justify In OneNote, Ctrl+E jumps to the search box. Ctrl+J does not seem to do anything In Excel: Ctrl+L inserts a Table (2007, or a List in previous versions) Ctrl+R is the fill-right feature (like Ctrl+D for fill down) Ctrl+J, Ctrl+E doe nothing as far as I know. As for OS-wide setting for alignment, no idea. Right-to-left language settings? Very weird. – AdamV Mar 1 '10 at 21:20
Doesn't work in most software – amuliar Sep 13 '15 at 7:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .