how to center text in input field code example Example: text input center input { text-align: center; }