center input type text box align code example Example: text input center input { text-align: center; }