开发者

Deactivate line feed with css of tag p [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

Hello I'm defining a css style and I have a problem with t开发者_高级运维he tag p. I am defining a style p tag and I get a line feed but I would like to deactivate its Line feed instead. How to do that?


I assume you are wanting to prevent multiple <p> tags from adding a line-break. In this event, try p {display:inline}; to modify the display property.

The preceeding CSS will remove the line-break by default. Depending on your criteria, you can modify it to reference a specific element or class.


Do you mean the margin underneath? If so try...

p {
    margin-bottom:0;
}
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜