Skip navigation
Currently Being Moderated

working of paragraphspacebefore or After in TLF?

Jul 10, 2012 5:49 AM

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.

 
Replies
  • Currently Being Moderated
    Jul 10, 2012 8:17 PM   in reply to Prashant Mhase

    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.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points