-
Story
-
Resolution: Obsolete
-
Medium
-
None
-
None
-
Low
It's absolutely incorrect to set the top and bottom margins of paragraphs (<p> elements) to 0. This forces content creators to insert empty paragraphs (<p></p>) just to get spacing between paragraphs. We should not be encouraging this behavior as it breaks the semantics of the document. Please re-enable the margins on paragraphs.
The current style definition is:
.jive-rendered-content p {
margin: 0;
padding: 0;
}
The suggested style definition is:
.jive-rendered-content p {
margin: 0 0 1em 0;
padding: 0;
}
Though I'll leave it up to the design team to determine the correct proportions. But it can't be 0.
I realize this will cause existing documents to have extra spacing, so perhaps figure out a way to apply it only to new documents (or have a macro which enables old behavior or something). I'm for just looping through existing documents and stripping out <p> </p>.