Answer the question
In order to leave comments, you need to log in
How to center align placeholder in android browser?
I noticed a feature of the browser on android, its input placeholder is always left-aligned. Can this be fixed?
Any "::-webkit-input-placeholder" doesn't work here(<input type="text" placeholder="Наш placeholder">
Answer the question
In order to leave comments, you need to log in
Of course, I don’t pretend to be a solution:
Instead of a placeholder, I sometimes do this:
var tel = 'Ваш номер телефона*';
$('#tel').val(tel);
$('#tel').focus(function(){
if($('#tel').val() == tel)
$(this).val('');
});
$('#tel').blur(function(){
if($(this).val() == ''){
$(this).val(tel);
}
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question