I'm using `<macro id="watermark">` to set a....
# advancedpdf
e
I'm using
<macro id="watermark">
to set a... well, a watermark. So far so good, but I need it to be displayed above any other element in the PDF. Trying
z-index
doesn't seem to have any effect. Any idea?
m
The background-macro attribute specifies a macro to apply to each page first, before the content is applied. More flexible than header and footer, the macro is effectively a DIV covering the whole page (including the header and footer), and can be used to add anything from watermarks to hole-punch guides.
I don't think
background-macro
will work.
t
Also interested in this
m
This is a crazy solution... if your PDF will be always one page, what about reversing the content? Put the main content in the macro and the watermark in the body.
e
Thanks @Marwan