I would like my document to start on page number 3. I am trying the following CSS:
This does not work. However, if I apply counter-reset to the body, and counter-increment to an arbitrary html element (like paragraphs), it does work as expected (though not as desired, obviously). I've also tried with a custom counter like mypage, with the same failure.
What am I missing?
@page:first{
counter-reset: page 3;
}
@page {
counter-increment: page;
}
@page:right{
@top-right-corner{
content: counter(page);
}
}
@page:left{
@top-left-corner{
content: counter(page);
}
}
This does not work. However, if I apply counter-reset to the body, and counter-increment to an arbitrary html element (like paragraphs), it does work as expected (though not as desired, obviously). I've also tried with a custom counter like mypage, with the same failure.
What am I missing?