开发者

Indent text cursor for input textbook

How to indent the text cursor of the textbox:

I used the following CSS code:

text-indent:8px;

But the first time the textbox开发者_如何学编程 is focused the indent doesn't apply, it only applies when someone types. Is there another way to fix that?


You will have to use padding-left instead :)

padding-left:8px;
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜