but I figure someone here may know how to do it.
I need to dynamically add a "footer" to an already existing HTML page,
Currently, I insert a <div> element just before the </body> end tag, and
this works most of the time. But, sometimes the <div> is rendered to
the right of a table _if_ the entire page is laid out in one big table.
I have been unable to come up with a way to force my content into the
lower left hand corner, even using absolute positioning CSS directives
(in one case, the table extends beyond what the browser thinks the
"bottom" of the page is).
I'm looking for a way to inspect the DOM to figure out the height of all
of the existing content on the page, then I figure I can absolute
position with a left margin of 0 and a top margin of <whatever the
height of existing content is>.
I tried getting document.body.offsetHeight, but this returns 0 in both
FF and IE.
Anyone have any ideas how to do this, without resorting to manipulating
any of the existing HTML?