Answer the question
In order to leave comments, you need to log in
How to set the width of table cells in dompdf?
<td>текст текст</td>
Dompdf adjusts the width to this line, and if you move the line with the <br>
: tag <td>текст<br>текст</td>
, then the width does not change and large indents are obtained on the sides.
For example, if the width is: 50px, then <td style="width: 40px;">текст<br>текст</td>
it does not make the width smaller, and if we set the width to more than 50px, then the cell increases. How to proceed? Need to be reduced.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question