For the complete documentation index, see llms.txt. This page is also available as Markdown.

How to: Center Text With PDF-Upload Merge Fields

Center text in a PDF-upload merge field by updating the Additional Style value.

By default, PDF-upload merge fields align text to the left.

This matters when you need text to sit in the middle of a form field, not the left side.

Use Additional Style to control alignment for a PDF-upload merge field.

To center text, set both a width and text-align:center.

text-align:center alone usually does not work.

Add a width so S-Docs knows the area to center within.

Common examples

Center across the page

Use this for text that should center across a standard letter-width area:

width:8in;text-align:center;

Center inside a smaller area

Use this when the field sits inside a smaller box or section:

width:100px;text-align:center;

Replace 100px with the width of your target area.

Last updated

Was this helpful?