1b.app
Link copied -

Advise on document layout

Document Template https://hte.crm-onebox.com/admin/shop/document/templates/2/control/
Print to PDF example https://hte.crm-onebox.com/admin/document/202/control/
What do you need:
1. On the left side, padding-left: 60px; we need to do the same on the right side, I tried padding-left: 60px; padding-right: 60px;
But it aligns somehow, I ask you to tell me how to correctly make a similar indent from the right.
2. The table has a column number, I set the size for all columns in % ratio, for this column I specified 1%, but it still stretches, we want to make it smaller. Perhaps because of some styles it stretches, tell me how to fix it so that it is smaller.
3. The table contains the text "At once without MPE", but it does not fit into the line and, when printed, transfers to a new line. As I understand it, it aligns to the size of the top column, tell me how this can be corrected so that it still does not transfer
Original question is available on version: ru https://qube-soft.com/ crm erp onebox qubesoft внедрение аналитика 1с интегратор

Answers:

1. You need to wrap everything in a block which set the width to 100% and set the indents. For all nested, make 100% of the parent's width and remove the left and right margins - then it will be as it should
2. I see the width is set to 118px
3. In the general cell of the total rows, remove the left padding of 65px
17.05.2021, 17:09
Original comment available on version: ru


Derkach Dmytriy wrote:
3. In the general cell of the total rows, remove the left padding of 65px

It turned out, everything is ok

Derkach Dmytriy wrote:
2. I see the width is set to 118px

Returned as it was, now it is set in% of the column like this:
1%, 64%, 5%, 10%, 10%, 10%
But the column with the number is still large https://hte.crm-onebox.com/admin/document/206/control/
17.05.2021, 17:47
https://qube-soft.com/ crm erp onebox qubesoft внедрение аналитика 1с интегратор Original comment available on version: ru


Korop Vladislav Pavlovich
KTS Premium Partner wrote:
Returned as it was, now it is set in% of the column like this:
1%, 64%, 5%, 10%, 10%, 10%
But the column with the number is still large https://hte.crm-onebox.com/admin/document/206/control/

Set the table to table-layout: fixed
17.05.2021, 22:27
Original comment available on version: ru


Luts Bogdan Aleksandrovich wrote:

Korop Vladislav Pavlovich
KTS Premium Partner wrote:
Returned as it was, now it is set in% of the column like this:
1%, 64%, 5%, 10%, 10%, 10%
But the column with the number is still large https://hte.crm-onebox.com/admin/document/206/control/

Set the table to table-layout: fixed

With fixed cell sizes, this property will not work.
Here you need to remove unnecessary tags from the cell so that only the text remains
18.05.2021, 09:15
Original comment available on version: ru


Derkach Dmytriy wrote:
Here you need to remove unnecessary tags from the cell so that only the text remains

I can’t do it, I don’t understand what needs to be removed, can you do it on this template or document?
https://hte.crm-onebox.com/admin/shop/document/templates/2/control/
https://hte.crm-onebox.com/admin/document/211/control/
18.05.2021, 12:39
https://qube-soft.com/ crm erp onebox qubesoft внедрение аналитика 1с интегратор 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