css input center code example Example: keeping elements of container in center .container { margin : 0 auto; }