Different table borders

Having trouble installing Oxygen? Got a bug to report? Post it all here.
[Stupid]_[User]
Posts: 21
Joined: Mon Dec 05, 2022 9:35 am

Different table borders

Post by [Stupid]_[User] »

Hi team, I have some problems with cells borders in the tables.
Some tables of my document contains cells, which I was separate or join. It looks like that:
View inside Oxygen.png
View inside Oxygen.png (11.1 KiB) Viewed 519 times
And everything great until I was transform my dita topic in pdf document, using Dita PDF - Based on HTML5 & CSS Transformation scenario (it's necessary to note that I also used my custom css for these transformation). Now my table looks like that:
View inside PDF.png
View inside PDF.png (28.33 KiB) Viewed 519 times
Using zoom in I see , that my cells borders looks in different ways:
View inside PDF zoom in.png
View inside PDF zoom in.png (38.01 KiB) Viewed 519 times
It looks like some borders are superimposed!
I was trying different ways to resolve this problem:
  • Add fixed cells borders
  • Add border-collapse: collapse parameter inside table settings in my css file
  • And etc.
And all unsuccessfully(
One useful thing which I was found - if don't use background color for cells, all borders are perfect:
View inside PDF no background.png
View inside PDF no background.png (24.68 KiB) Viewed 519 times
But it's not a decision for me since I have some style requirements for tables.
How I can try to resolve this problem?
julien_lacour
Posts: 498
Joined: Wed Oct 16, 2019 3:47 pm

Re: Different table borders

Post by julien_lacour »

Hello,

Could you indicate which version of Oxygen you are using? Also is it possible for you to copy your custom CSS rules for tables?

Regards,
Julien
chrispitude
Posts: 907
Joined: Thu May 02, 2019 2:32 pm

Re: Different table borders

Post by chrispitude »

Hello Mr. User,

Could you put your "bad" and "good" PDF files in an archive and post it here? Sometimes PDFs can get funny about how line widths are rendered, and it can vary by PDF viewer. Another possibility is some kind of order-of-rendering issue, but it will help to examine the actual PDF file.
Post Reply