0

In my application, I want to print some contents in a A4 size page Page break

<div class="book">
    <div class="page">
        <div class="subpage">[[Page 1/2]]</div>    
    </div>
    <div class="page">
        <div class="subpage">[[Page 2/2]]</div>    
    </div>
</div>

In [[Page 1/2]] will be replaced with my contents, which is populated from database. I am posting an image which will clearly describe my requirement.Help needed.!!! enter image description here

Babai
  • 99
  • 1
  • 14
  • This could help: https://css-tricks.com/almanac/properties/p/page-break/ – VDWWD Apr 20 '18 at 13:16
  • Sir, i think creating static pages is not an issue . My requirement is how to add this dynamically? i.e while content goes at the end of the current page.. create a new one! – Babai Apr 20 '18 at 13:19
  • Please check [here](https://stackoverflow.com/a/18743395/7738489) maybe it will help you. – Dinkar Veer Apr 20 '18 at 13:34
  • 1
    absolutely !! At least got a starting point :) @DinkarVeer – Babai Apr 20 '18 at 13:44

0 Answers0