set text in the middle of a div position relative code example Example: center text in div container text-align: center