Hello,
I'm having a problem with variables on my PDF cover page. Long story short - I never want a line break inside a variable - I want the entire contents of the variable to move to a new line instead of ever line-breaking inside the variable.
I use two variables on the first line of the cover page, as follows:
{Product Name} {Document Type}
Occasionally, the {Product Name} variable can be long enough that the {Document Type} variable cannot fit on the same line:
{Product Name..............} {Document
Type}
I want to automate it, if possible, so that the {Document Type} variable will always be automatically forced to the next line when (and only when) it can't fit on the same line.
So to summarize, I want this:
{Product Name} {Document Type}
or this:
{Product Name}
{Document Type}
But never this:
{Product Name} {Document
Type}
Has anyone encountered this? I've tried using a <span> to wrap {Document Type} variable with whitespace: nowrap and display: inline-block , but they aren't giving me acceptable results.
Unwanted Line Break Inside a Variable
Unwanted Line Break Inside a Variable
You do not have the required permissions to view the files attached to this post.