This topic contains 1 reply, has 0 voices, and was last updated by tgrimm 9 years ago.

  • Author
    Posts
  • #2098

    tgrimm

    I have come across this issue many times. In all of the tables in advanced PDF’s the default text-align is set to justify and so far I cannot find anyway of over riding this. Is it possible to prevent text justification in tables? It only seems to happen when a field has too many characters forcing a line break, well instead of simply breaking the line it justifies the first line making it look ridiculous. For example my client has an email address for one customer that is too long. So when it prints out on documents it shows up like this:

    E X A M P L E –

    email@email.com

    I have tried text-align via css as well as inline styling to no avail.
    This is a cached copy. Click here to see the original post.

  • #2099

    tgrimm

    Solved. There is an inherited p tag within the td elements which must get set.

    td p {

    text-align: left;

    }

You must be logged in to reply to this topic.