Skip to main content
Participant
July 10, 2012
Question

working of paragraphspacebefore or After in TLF?

  • July 10, 2012
  • 1 reply
  • 3234 views

working of paragraphspacebefore or After in TLF?

I have set the paragraphspacebefore and paragraphspaceAfter property to paragraph element.

Dont know which value is taken paragraphspacebefore or paragraphspaceAfter or greatest among.

can anyone help me to find out how it is working?

Thanks in Advance.

This topic has been closed for replies.

1 reply

Adobe Employee
July 11, 2012

7.4.6. paragraphSpaceBefore attribute Specifies the space before a paragraph. Adjacent vertical space collapses. For two adjoining paragraphs (A and B), where A has paragraphSpaceAfter 12 and B has paragraphSpaceBefore 24, the total space between the paragraphs will be 24, the maximum of the two, and not 36, the sum. If the paragraph comes at the top of the column, no extra space is left before it. Valid values range from 0 to 8000.   

7.4.7. paragraphSpaceAfter attribute Specifies the space after a paragraph. Adjacent vertical space collapses. For example, for two adjacent paragraphs one having a space after and the other having a space before, the space will be the maximum of the two spaces, not the sum. No “space after” is necessary if the paragraph falls at the bottom of the  element. Valid values range from 0 to 8000.