Simon G Simon G - 2 months ago 18
CSS Question

Netsuite Advanced PDF/HTML text formatting

I am trying to left-align all lines of text string within a table in netsuite, but the text does not always have the same width, i.e. is not always more than 1 line.
The demo template seems to work okay;

However, when it comes to printing a sales order, the text string that spans multiple lines, ends up adding white space to the all but the final line of text. Similar to

style, even though this is never mentioned in the template.


Add this CSS to your templates to fix this issue:

td p {
    text-align: left;