To center a div you need to giv it a width and then set its left and right margins to auto.
margin: 0px auto 0px auto}
This will centre the div inside its parent element.
Centreing the div's content depends on what the content actually is.
If you can, maybe post your code or example content you want to centre.