Forum How do I...?

show the page number and footer together at bottom

vicky
Is it possible to have page numbers/footer together at bottom....i am using the following css...
#ftr{prince-flow: static(footer);}

@page{
      @bottom{
         content: counter(page) flow(footer);
       }
}



but this is not worked....I am expecting the following as result...

                                        1
this is the footer..........this is the footer........this is the footer......


waiting for your valuable reply...


Edited by vicky

mikeday
No, you can't mix flow with other generated content. But you can refer to the page counter inside the block that you flow to the footer.
vicky
i have tried this....
<div id ="ftr"> counter(page) this is footer </div>

but i haven't get the expected result...
what's wrong with this....how to refer the page counter...

Edited by vicky

mikeday
Try something like this:
<span style="content: counter(page)"></span>
vicky
thanks...it works...

Edited by vicky