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;
}
精彩评论