Uploaded image for project: 'jboss.org'
  1. jboss.org
  2. ORG-869

Paragraphs in content should have a margin

XMLWordPrintable

    • 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>.

              lkrzyzan@redhat.com Libor Krzyzanek
              dan.j.allen Dan Allen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: