Center the left, right, and middle texts properly