Quote:
Originally Posted by tibiafry
I really need to know how to get at least this output
<p> </p>
for each blank line I have in my InDesign document. It's getting a pain in the *** having to do a special style editing every time i need 1, 2, 3 or 4 blank lines before/after a paragraph.
|
Ideally, you want to separate the display aspects into CSS and leave just the content in the XHTML file. Handcoding things is relatively straightforward, but I don't know enough about InDesign to go about telling you how to handle the automatic conversions.
If all of the <p> tags are getting the same space before, then in the external stylesheet, you would add something along the lines of:
Code:
p {padding-top: 1em}
If the amount of spacing was variable, then simplest (though not "best practice"), is something like:
Code:
<p style="padding-top: 2em">This is paragraph 1</p>
<p style="padding-top: 1em">This is paragraph 2</p>