text align center position relative code example Example: keeping elements of container in center .container { margin : 0 auto; }