Table fonts.

bloodnok
Posts: 17

Table fonts.

Thu Jan 10, 2019 4:00 am

My default fonts are 12pt. When I build the PDF, the output fonts in the table are about half the size.

I tried the following in my CSS:

Code: Select all

table tbody tr td p{
  font-size: 12pt !important;
}

It didn't work. The fonts are still about half size.

How do I get tables to use the same font size as the rest of the doc?
Costin
Posts: 458

Re: Table fonts.

Fri Jan 11, 2019 11:53 am

Hello,

You should double check that there really are any paragraph elements inside the table cells.
One thing you could try would be to match even the cell, by modifying the selector, like:

Code: Select all

table tbody tr td p{
  font-size: 12pt !important;
}


If this does not solve the issue, as we can not tell what is wrong without knowing the structure that your source DITA file have, you should send us a minimal sample for which the issue is reproducible (on support@oxygenxml.com).

Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support

Return to “Common Problems”

Who is online

Users browsing this forum: No registered users and 0 guests