Is it possible to text indent each line in a textarea? I'm using a handwritten font and the first letter on each line is getting cut off slightly. I've already used padding and margin, but this does not work.

Many thanks.

Erik

有帮助吗?

解决方案

Have you tried using \t? More details would be good are you programming this or are you typing it? You can also try alt codes if its the latter - Alt-012 is tab.

Edit I see your probably talking about the HTML input textarea. You might tag your question for HTML, though looking at it again it's fairly straight forward from the context.

其他提示

Don't know about \t but

style="padding-left: 4px;"

would definitely work for all the rows of a text-area.

in Chrome 69.0.3497.92, This gives indent only for the first line in textarea:

text-indent: 2em;
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top