Forum How do I...?

position generated content in header

jenne
Hi.
I am working on a report. At the top of the report ( @top-center ), I have it set to 100% so it spans the entire top of the page, and I have a background image.

I need to have 2 pieces of generated content positioned on top of the image so that it is in certain areas of the image. The content is generated via strings, because it will be different for each user.

How do I position generated content in an @top center box that spans an entire page?

Thanks
Jenne
mikeday
I think that the only way to do this at the moment is to flow a block from the document body up to the header. For example, define a <div> that includes the positioned content and background image, and then flow that to the header. For an example, see Page Headers and Footers. under "Taking elements from the document".