Where are the cfdocument magicians? Why does my c...
# cfml-general
d
Where are the cfdocument magicians? Why does my cfdocument header get overlapped by the content?
That table should be below the blue image.
The blue image and text next to it are in a <table>.
@Mark Takata (Adobe) Think you can help me out here?
m
OK I just reread this. What's your header height set to? Is your table positioned absolutely? Simplify it down as much as possible and see where the error is. To me that looks like the header space is set to like 350px and the height of the box is 450px or something like that. Check your CSS and inline styles.
b
Copy code
@Daniel Mejia 
That table should be below the blue image.
The blue image and text next to it are in a <table>.
Just to understand. Your description suggests there are two separate tables: "that table", plus the table containing the blue image. Is that so?
d
Correct.
two tables with minimal css styles to give a 1px border and background color in the header row and thats its. Neither has a height property.
I gave up on it. and I am no longer using the <cfdocumentitem type="header|fotter"> tags. I am now simly adding the header and footer html to the body html.
Header looks fine now, but the footer does not stick to the bottom, it simply just follows next in line after the data table.
b
A cfdocument proof-of-concept. It consists of cfdocumentitem header and footer, an HTML table containing images, a second HTML table, and minimal CSS. The result is attached.
👍🏾 1
d
Ok thanks for that. very similar to my code.
I'm going to run your code next ...
Ok the pdf output was exactly the same as yours.
👍 1