thin lines not shown in pdf output

Hi,

in a table I wanted the width of some borders to be thinner than 0.5pt, but when dealing with values lower than 0.5pt these lines don’t show in PDF output.

how can I get these “hairlines”?

Ralf

They don’t render at all in the PDF output? I just ran a test with boxes having borders of 0.05, 0.1, 0.2, 0.3, 0.4, and 0.5. Each one rendered on the resulting PDF print. I’ll grant you that they do not appear to be the correct size, with the first four all looking like 0.25 and the last two looking like 0.5.

I did this with a default “Generic PDF” output. Are you using special settings like imposition? What paper size?

It’s standard Generic PDF without any imposition: the right border of the table cells only render at 0.5pt and above.

                    MyCellData

Can you put this in a new document and see what it gives you? This is a simple table using 0.1 border width on all sides.

It renders a line for me, both in Connect and in Chrome if I preview it. It also prints to PDF without issue.

Lastly, what version of Connect are you using? This may be part of the problem. I’ve done all of this testing in 1.6.1

AlbertsN,

sure I’m using 1.6.1. When rendering your table the borders render as rectangles. The lowest thickness possible seems to be 0.2646 mm (far too thick).

But try to define cell borderls . We’ll need cell borders to achieve different line widths in a table.

Any further suggestion?

Ralf

Alright, so after a bit of research it turns out this is a known issue with the mozilla rendering engine, which is what is used by Connect.

To work around it, you can use this style property on the table:

“border-collapse: separate;”

If you’re using the default styles, they may already be set to use “border-collapse: collapse;” so be sure to replace it there as well.

Edit: I also wanted to add this link I found which can help with displaying hairlines in print. With the CSS above and this information, I’m sure you’re going to be able to come up with a hairline that suites your needs: Specify hairline thickness in CSS for printing - Stack Overflow