Søg i Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

v72 and 70 - CSS Page Counter for HTML Table displays total page count on first page and nothing on following pages

  • Ingen svar
  • 1 har dette problem
  • 19 visninger
more options

Ran into this in developing code for a report that gets regularly printed out.

In Firefox 50.0.2 the following bit of CSS worked

@media print {

  .page-counter::after {
     counter-increment: page;
     content: "Page " counter(page);


In my table it will display "Page 1", "Page 2", etc.

But in Firefox 70.0.1 and 72.0.1 what happens is that on the first page it says "Page 3" (or whatever the total count is) and the following pages will just say "Page".

Is this a known issue with some workaround handling?

Ændret af jesse.rigg den

Du skal logge ind på din konto for at svare på et indlæg. Start et nyt spørgsmål, hvis du ikke har en konto endnu.