Creating Chat on a page center

How do you create a page that has a chat box in the center?