I have a page that has about 20 divs one under the other on it. what i'd like to do is to print the page like this:
- 4 divs go fully on one printed page.
- the first half of 5th div gets printed on page 1 and the other half on page 2.
- this repeast for all 20 divs.
- i'd like to have first 4 divs on page one and the 2nd page to start with div 5 and so one.
so each printed page would contain only full divs. also the div height is not known. so there can be 1 or 7 full divs per page.
EDIT: I've tried all page-break-before and page-break-inside options