Skip to main content
Participant
May 22, 2020
Question

Horizontal text alignment in DITA table cell

  • May 22, 2020
  • 2 replies
  • 1030 views

Hi all,

I am working in Dita 1.3.  I have created a table.  I am able to adjust the column widths and position of the table on the page.  However, I cannot find a way to center the text in each column. I can use the center selection  but after the document is saved and then reopened the text in each cell reverts to left justification.  Is this limitation of DITA or am I missing something.


Thanks

This topic has been closed for replies.

2 replies

TCopeLAuthor
Participant
May 27, 2020

Thanks, so much. Exactly what I needed to know.

frameexpert
Community Expert
Community Expert
May 22, 2020

When you do local formatting in FrameMaker, it gets "lost" when you open the topic again because the dita content is read into the template each time you open it. Local formatting doesn't get saved. You have to do formatting through either a template change or with attributes. For example, if the entry has an align attribute, you would set the value to "center" (or whatever).

 

www.frameexpert.com