I'm trying to debug why the @bottom-right
and @bottom-left
are having no effect when I print my page. Instead I currently get chromes default footers, and I cannot figure out how to inspect the rules to see if they are being applied.
<style type="text/css">
@page {
size: A4;
margin: 2cm;
@bottom-right {
content: counter(page) ' of ' counter(pages);
}
@bottom-left {
content: '© ' attr(data-date);
}
}
@media print {
html, body {
width: 210mm;
height: 297mm;
}
}
</style>
Thanks!