开发者

html5 placeholders align

I have text inputs in rtl page (hebrew) with fields for email and phone numbers. now these fields are written ltr. so, their placeholders are shown on left side of input field, while all others are on the right side (remember, rtl开发者_如何学编程). Is there as way to change the align of placeholder text?


I am quite unsure how they respond to positioning attributes, but at least I've been successful in changing font\color etc via these two selectors:

input::-webkit-input-placeholder { }
input:-moz-placeholder { }
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜