缩进第一行 [英] indent first line
问题描述
假设我们有一个包含多行的段落。我想
缩进第一行。
一线伪类出现了,但你不能在那里设置一个左边的
填充。
也许别的什么?
杰夫
Jeff写道:
假设我们有一个包含多行的段落。我想
缩进第一行。
一线伪类出现了,但你不能在那里设置一个左边的
填充。
也许别的什么?
text-indent :( property)
"此属性指定第一行文本的缩进
阻止。"
-
注意上面代码中的错误;我只是证明它是正确的,而不是
尝试过它。 - Donald E. Knuth
文章< xb ************************ ******@earthlink.com> ,
Jeff< jeff@spam_me_not.comwrote:
假设我们有一个包含多行的段落。我想
缩进第一行。
一线伪类出现了,但你不能在那里设置一个左边的
填充。
也许别的什么?
如果由于某种原因你不想使用文字缩进:2em;,然后也许:
< p>& nbsp; Lorem ipsum dolor ...< / p>
您可以通过添加更多不间断的空格来控制。只是不要添加
超过一条线。 < g>
-
dorayme
dorayme写道:
< blockquote class =post_quotes>
文章< xb ****************************** @ earthlink.com> ; ,
Jeff< jeff@spam_me_not.comwrote:
>假设我们有一个包含多行的段落。我想稍微缩进第一行。
一线伪类出现了,但你不能设置左边的填充在那里。
也许还有其他的东西?
如果由于某种原因你不想使用文字缩进:2em ;,那么也许:
不,我只是忘了它,当我用Google搜索时它没有看到它。好像
现在很明显!
我从未使用过很多东西,因为支持级别是
$ b $当我第一次了解它时,我认为,对于大多数CSS2,我认为没有
更长。
Jeff
< blockquote class =post_quotes>
>
< p>& nbsp; Lorem ipsum dolor ...< / p>
你可以通过添加更多不间断的空格来控制。只是不要添加
超过一条线。 < g>
Lets say we have a paragraph that wraps several lines. I''d like to
indent the first-line a bit.
The first-line pseudo class sprang to mind, but you can''t set a left
padding there.
Perhaps something else?
Jeff
Jeff wrote:Lets say we have a paragraph that wraps several lines. I''d like to
indent the first-line a bit.
The first-line pseudo class sprang to mind, but you can''t set a left
padding there.
Perhaps something else?text-indent: (property)
"This property specifies the indentation of the first line of text in a
block."
--
Beware of bugs in the above code; I have only proved it correct, not
tried it. -- Donald E. Knuth
In article <xb******************************@earthlink.com> ,
Jeff <jeff@spam_me_not.comwrote:
Lets say we have a paragraph that wraps several lines. I''d like to
indent the first-line a bit.
The first-line pseudo class sprang to mind, but you can''t set a left
padding there.
Perhaps something else?
If for some reason you don''t want to use text-indent: 2em;, then perhaps:
<p> Lorem ipsum dolor...</p>
And you can control by adding more non-breaking spaces. Just don''t add
more than will fit on a line. <g>
--
dorayme
dorayme wrote:In article <xb******************************@earthlink.com> ,
Jeff <jeff@spam_me_not.comwrote:
>Lets say we have a paragraph that wraps several lines. I''d like to
indent the first-line a bit.
The first-line pseudo class sprang to mind, but you can''t set a left
padding there.
Perhaps something else?
If for some reason you don''t want to use text-indent: 2em;, then perhaps:No, I just forgot about it and didn''t see it when I googled. Seems
pretty obvious now!
There''s lots of stuff I''ve never used because the support level was
low when I first learned about it, I think for most of CSS2, that''s no
longer true.
Jeff>
<p> Lorem ipsum dolor...</p>
And you can control by adding more non-breaking spaces. Just don''t add
more than will fit on a line. <g>
这篇关于缩进第一行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!