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