Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

input placeholder displaced #32

Open
juanca202 opened this issue Jul 4, 2012 · 1 comment
Open

input placeholder displaced #32

juanca202 opened this issue Jul 4, 2012 · 1 comment

Comments

@juanca202
Copy link

When I use the html5 attribute placeholder in a input field it show aligned top and is not very aesthetic, when I fill the input the text show centered, do you how why it happens??

@ohhamburgers
Copy link

Late response, but I had the same problem you had and you're the only other person I could find.

My problem was because I had a "line-height:100%" css attribute on my input box (ui-input-text).

If you have this, you may have to also do that for your placeholder css. I added the line-height attribute to my input::-webkit-input-placeholder css properties and it did the trick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants