How To Anchor Elements (Not <a/>)

How do I change the “anchor” of a element? It seems by default, elements are anchored by the top-left corner. However, I want to anchor the element at its center.

Can you give us an example of what you are talking about. Its hard to help if we cant see anything