Android has an error here :(, centering just wonโt work. You can use this polyfill: https://github.com/diy/jquery-placeholder and this supports the โforceโ attribute. This attribute forces it to run even in the browser, which "supports" the placeholder, for example, android.
$('#myInput').placeholder({force:true});
Then use plain CSS to create the placeholder class provided by the plugin.
.placeholder{ text-align: center; }
source share