I'm having trouble including the page title in the footer of all printed pages. I've tried using the following code snippet:
@page {
@bottom-right {
content: attr(title);
}
}
However, this method doesn't seem to be working for me. It seems like I either need to set an attribute on @page
that can be referenced using attr
, or find another way to specify specific content, such as the title
of my page. Since I'm using the same CSS on multiple pages with different titles, hard coding it is not an option.