缩进段除了第一行? [英] Indent paragraph except for first line?

查看:83
本文介绍了缩进段除了第一行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




除了第一行以外,是否有缩进段落的缩写方式?


我试过


p:第一行{

text-indent:0em;

}


p {< br $>
margin-left:3em;

}


但它在IE6或Firebird中无效。它应该在理论上运作吗?


这是我正在研究的页面:

http://s88900951.onlinehome.us/scrap...akespeare.html

解决方案

Firas于2003年3月28日在comp.infosystems上写道。 www.authoring.stylesheets:

p:第一行{
text-indent:0em;
}

p {
margin-left:3em;
}



p {margin-left:3em;}

p:第一行{margin-left:0em;}

-

Evertjan。

荷兰。

(请将x''es更改为我的电子邮件地址中的点数)


Evertjan。写于2003年11月28日的

comp.infosystems。 www.authoring.stylesheets :

p {margin-left:3em;}
p:第一行{margin-left:0em;}




对不起,我按了发送按钮睡前我完成测试。


这不起作用。


-

Evertjan。

荷兰。

(请在我的电子邮件地址中将x'变为点数)


Evertjan。写道:

Firas于2003年4月28日在comp.infosystems上写道。 www.authoring.stylesheets:

p:第一行{
text-indent:0em;
} <
p {
margin-left:3em;
}



p {margin-left:3em;}
p :第一行{margin-left:0em;}



是的,输入错误,上面是我的意思我试过:)


Hi,

Is there a CSSish way to indent a paragraph except for the first line?

I tried

p:first-line {
text-indent: 0em;
}

p {
margin-left: 3em;
}

But it didn''t work in IE6 or Firebird. Is it supposed to work in theory?

This is the page I''m working on:

http://s88900951.onlinehome.us/scrap...akespeare.html

解决方案

Firas wrote on 28 nov 2003 in comp.infosystems.www.authoring.stylesheets:

p:first-line {
text-indent: 0em;
}

p {
margin-left: 3em;
}


p {margin-left: 3em;}
p:first-line {margin-left: 0em;}
--
Evertjan.
The Netherlands.
(Please change the x''es to dots in my emailaddress)


Evertjan. wrote on 28 nov 2003 in
comp.infosystems.www.authoring.stylesheets:

p {margin-left: 3em;}
p:first-line {margin-left: 0em;}



Sorry, I pressed "send" bedfore I finished testing.

This does not work.

--
Evertjan.
The Netherlands.
(Please change the x''es to dots in my emailaddress)


Evertjan. wrote:

Firas wrote on 28 nov 2003 in comp.infosystems.www.authoring.stylesheets:

p:first-line {
text-indent: 0em;
}

p {
margin-left: 3em;
}



p {margin-left: 3em;}
p:first-line {margin-left: 0em;}


Yeah, typing error, the above is what I meant I tried :)


这篇关于缩进段除了第一行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆