I am creating a policy manual for an organization and the policy is in the database as individual items, etc. I output to the browser, no problem, CSS makes it look fine.
When I generate a PDF however, any short sentences are broken to form two lines
Q. Complete assigned tasks as required;
Is output in the browser just fine as one line. But when generating a PDF from that same output, it looks like:
Q. Complete assigned tasks as
And this happens no matter what formatting I attempt to use. Very frustrating. Anyone have any ideas on how to fix this?
A search of this board did not return relevant results, nor has a web search.
EDIT - WITH SOLUTION
UUGGH. So, after posting this, and after having spent several hours trying various CSS style attributes to fix, I tried something really simple - so simple it surely couldn’t work - and it did.
On the DIV where these items are output and the lines are broken, simply added:
Which of course I will integrate in the style sheet, but it works.
I swear I do research this before posting such a simple issue.