The code below gets me a title page and a header "Header" but I need the header to have the page title. How would I get that variable?
.pagetitle h1 {
font-size: 36px !important;
margin-left: 250px !important;
padding-top: 300px !important;
page-break-after:always;
}
@page {
@top-left {
content: "Header";
}
}
Hi Anju,
You can use runningheaders to include the title in your PDF header. For example:
@page {
@top-center {
content: element(runningheader);
}
}
.pagetitle h1 {
position: running(runningheader);
}
For more information, review running headers and footers. Let us know if you have any questions about that!
Kind Regards,
Shannon
Yes, it works, but where can I get info about the runningheader or other parameter like version or date of document ??
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.