html - How to align text (right/center) on MobileSafari iPad1 -


I am trying to align an input field center or text and placeholder on the right. It works by using the text-align property in all browsers, but the mobile safari on the iPad fails. The text is self-aligned, but the placeholder text remains on the left side at all times.

See Bella:

How can I align the placeholder text on iPad 1?

form input {height: 40px; Width: 200px; Font-size: 18px; font-weight: bold; Border: 1 px solid gray; Text align: center; } Form {margin: auto; Font-size: 18px; font-weight: bold; Text align: right; }

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

jsp - Google line chart x-axis shrinks on transition -

java - Reaching JTextField in a DocumentListener -