Search 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

  • No replies
  • 1 has this problem
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?

Modified by jesse.rigg

عليك الولوج إلى حسابك للردّ على المشاركات. من فضلك اطرح سؤالًا جديدًا لو لم يكن لديك حساب بعد.