Would it be possible to create different left/right margins for header/footer and content in a pdf template?

I use headers and footers across...