Forum How do I...?

Total page numbers

petalmd
Hi,

I'm having some problems displaying the total number of pages in the footer. I know I should use "counter(page)" and "counter(pages)" to do so, but as soon as I put another character between the two function calls, nothing is displayed.

Ex.

@bottom-right
content: counter(page) counter(pages)

shows "13", where "1" is the page number and "3" the total of pages.

But if I use this:

@bottom-right
content: counter(page) " of " counter(pages)

Nothing is shown.

What I'm I doing wrong ?

Thanks.
mikeday
That should work perfectly. Can you try the attached document?
  1. doc.html0.2 kB
petalmd
Thank you for your anwser. I think the problem was with SASS. I put the style in line in the html file and it worked just fine.