text inside input field css center code example Example: text input center input { text-align: center; }