I have a situation where I've got multiple page types and for two of those types I want page numbers. I've tried this:
But it doesn't work. If I split it into two rules it works:
That's a bit cumbersome though as I've got more page types coming up.
@page type1, @page type2 {
@bottom-right: {
content: counter(page);
}
}
But it doesn't work. If I split it into two rules it works:
@page type1 {
@bottom-right: {
content: counter(page);
}
}
@page type2 {
@bottom-right: {
content: counter(page);
}
}
That's a bit cumbersome though as I've got more page types coming up.