Problem: you're trying to align a text to something else. But instead of aligning the characters, Illustrator is aligning the text box itself.
Solution: watch this video :)