The problem is most likely that you have the text justification set to Left (the default) while you are trying to either center or right justify the text. Select the object by choosing the selection tool and clicking inside the object, then choose Properties on the Edit menu. You can set the justification on the Text Properties page.