38

I was typing into Google Chrome's address bar and I think I hit some keys by accident that right aligned the text in the bar. This is very annoying! What might I have pressed? How can I change this back?

alt text

1
  • 1
    More like, how do you align text to the right?! :p
    – danixd
    Commented Sep 8, 2010 at 15:15

7 Answers 7

68

Looks like it relates to Right To Left language support. Try hitting:

LeftShift+LeftControl

at the same time to see if it resolves.

5
  • 1
    Glad it worked!
    – JNK
    Commented Sep 8, 2010 at 15:42
  • 2
    its too late but its LeftControl + LeftShift .
    – sal
    Commented Dec 7, 2018 at 20:20
  • 2
    you can use any 'ctrl' but press 'shift' according to cursor position you need like for right press right shift otherwise press left shift.keep it more simple :D Commented Dec 9, 2018 at 5:42
  • Did not work on firefox on ubuntu. Commented May 30, 2019 at 20:01
  • This works on all input boxes on Windows Commented Jul 16, 2021 at 9:01
14

If you want to align to left then simply hold "CTRL" and then press "LEFT SHIFT"

If you want to align to right then simply hold "CTRL" and the press "RIGHT SHIFT".

7

Okay, none of the above worked for me and i think i found a solution which works well on my Chrome for Windows 10. Holding Ctrl and then pressing the right Shift button moves the text in address bar to right. Holding Ctrl and then pressing the left Shift button moves it back to the left. Hope this solves your problem.

1
  • Kudos for solving this. However, this is the same as the accepted answer.
    – fixer1234
    Commented Oct 11, 2018 at 19:27
2

LeftControl + LeftShift align addressbar text to left.

RightControl + RightShift align addressbar text to right.

1
  • Extremely confusing & questionable UX...
    – gavenkoa
    Commented Nov 28, 2022 at 15:27
1

I've done this so many times to myself you'd think I'd know it by heart... but I don't. I don't even have access to a Windows machine right now to give more exact details. But essentially, you should be able to right-click the address box and somewhere in the context menu there should be right-to-left and left-to-right alignment options...

As for what keys were pressed to do that? I don't know. I've yet to figure that one out myself.

1
  • 1
    ...There's no context options for this in Chrome.
    – JNK
    Commented Sep 8, 2010 at 15:30
1

I am using Chrome on a Mac, the only way I found how to change text alignment (when typing) is to right click on the text box - 'writing direction' - RTL\LTR.

to view a page in a different alignment I use this extension: https://chrome.google.com/webstore/detail/switch-direction/fldkjfjmcadcklboajlnclnfjpdopcce

if someone can tell how to change text alignment using a shortcut key that will be great!

0

Point your mouse cursor to Address Bar and Press together with Shift+Control+X

2
  • Doesn't work for me in Chrome
    – mtak
    Commented Jun 16, 2014 at 12:49
  • Worked for me but for Firefox, not Chrome. Google brought me here when I searched without specifying the browser and I didn't notice. Commented May 20, 2022 at 11:45

You must log in to answer this question.

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