Forum How do I...?

prince-overlay positioning

joelmeador
Is there any more information on how to position the overlay element added in prince 11.2? I know I can add padding to change the relative size of the element to make it appear to not be position in the center of the document, but is there a way to get it to align to say the top center of the page instead of the middle center? Also is there a way to add content to more than one location on the page?
mikeday
You can apply "vertical-align: top" to @prince-overlay to shift text to the top of the page area.

Currently it is only possible to have one overlay, but you could flow an entire element there that has multiple individually positioned content.
joelmeador
Yeah, I was trying to figure out a way one could do a top and bottom of page watermark in a page size agnostic way. Seems like there is probably not enough here yet for that. Still a great feature. :)