1b.app
Link copied -

Page break - can it be adjusted or improved?

You need to insert a page break by background-size in the document template https://propecs.crm-onebox.com/admin/shop/document/templates/15/control/
That is, I insert a background image https://prnt.sc/vwz2wh into the documents and give it the size of an A4 sheet, set it to repeat for the entire block https://prnt.sc/vwz3fz
I need each image to be 1 page.
Question 1: is it possible to somehow insert a break with formulas?
Question 2: if it is impossible to do now, can it be finalized? It is possible to make just a background image that will be loaded here https://prnt.sc/vwz4nm and you can specify a size for it, or it will adaptively stretch across the page.
Original question is available on version: ru

Answers:

Try for div.qqq to register page-break-after: always;
It happens that this rule does not work for div, if it does not work, then add an empty paragraph after div.qqq <p style="page-break-after: always"></p>
07.12.2020, 09:23
Original comment available on version: ru

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license

Derkach Dmytriy
Employee wrote:
Try for div.qqq to register page-break-after: always;

Already tried this

Derkach Dmytriy
Employee wrote:
It happens that this rule does not work for div, if it does not work, then add an empty paragraph after div.qqq <p style="page-break-after: always"></p>

Nothing too.
There is such a picture in the styles https://prnt.sc/vxeym5
07.12.2020, 13:29
Original comment available on version: ru


Sukhanitsky Andrey Vladimirovich
Grove Street Family wrote:

Derkach Dmytriy
Employee wrote:
Try for div.qqq to register page-break-after: always;

Already tried this

Derkach Dmytriy
Employee wrote:
It happens that this rule does not work for div, if it does not work, then add an empty paragraph after div.qqq <p style="page-break-after: always"></p>

Nothing too.
There is such a picture in the styles https://prnt.sc/vxeym5

Why an asterisk before the tag?
07.12.2020, 13:36
Original comment available on version: ru

I wrote in style for p.break - check
07.12.2020, 13:37
Original comment available on version: ru

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license
Well, like for all p with a class, it doesn't work without it either.
I have a background and text in one block, I need to make a page break according to the size of the background image.
07.12.2020, 13:49
Original comment available on version: ru


Sukhanitsky Andrey Vladimirovich
Grove Street Family wrote:
Well, like for all p with a class, it doesn't work without it either.
I have a background and text in one block, I need to make a page break according to the size of the background image.

It will not work through the background. Here you need to do through the headers and footers of the document
07.12.2020, 14:21
Original comment available on version: ru

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment