Forum Moderators: not2easy
A little more specifically:
The HTML document I'm printing is generated dynamically on the server-side. It might be 50 pages, it might be 5. I could turn all the footnotes into *end*notes, and print them out at the end of the document, but that's less than optimal, since whoever's printing out my document would have to flip to the *end* when they could be looking at the bottom of the page that they're already on.
Ultimate fantasy solution:
What I'd *like* is something that prints the notes at the *bottom* of the page where the footnote appeared. So if the footnote showed up on page 6, the note itself should show up at the bottom of page 6.
Also, let me clarify "bottom". Because of explicit page breaks, a page might consist of a few lines of text, then whitespace for the rest of the page. If a footnote were to show up on that page, I'd *like* it to show up *AFTER* the whitespace, at the bottom, rather than simply after the end of the text.
Oh yeah, that'd be sweet.
Maybe a more realistic solution:
The document is divided into sections. I may just print the notes at the end of the respective section (quasi-endnotes), but I'd still like them to be at the *bottom* of the page.
Less sweet, but still sweet.
Any ideas?
DaveE
Some text needing a footnote
<a href="#footnote1" name="footnotes_link1" title="footnotes" class="footnotelink">1</a>
and some more after it. A second need
<a href="#footnote2" name="footnotes_link2" title="footnotes" class="footnotelink">2</a>
for a footnote.<div class="footnotes">
<a name="footnotes" id="footnotes" title="footnotes"></a>
Notes:
<div class="footnote">
<a href="#footnotes_link1" name="footnote1" id="footnote1" title="footnote1">
1</a>.
This is the info for the first footnote.
</div>
<div class="footnote">
<a href="#footnotes_link2" name="footnote2" id="footnote2" title="footnote2">
2</a>.
Info for second footnote.
</div>
</div>
A little more explicitly, here's what I want:
[images.suave.net...]
The part labelled "OK" is easy. I've done that already. And I don't really care what it looks like in the browser. Well, I do, but I already know how to manipulate that however I want. The thing I *don't* know is how to make it *print* correctly, without resorting to somehow exporting it as an RTF or .doc format.
The things I'd like that I'm not finding:
1) Where to place the note text:
- is there a directive that will say "place element X (the note text) on the same printed page as element Y (the footnote marker)"?
- is there a query I can make that will detect what printed page element Y (the footnote marker) will display on, so that I can *move* my footnote text accordingly and dynamically?
2) How can I put the note text explicitly at the bottom of the printed page? IE, after however much whitespace is determined to be needed to fill the page.
DaveE