Skip to main content
Participant
November 3, 2010
Question

Thin lines with cfdocument

  • November 3, 2010
  • 1 reply
  • 1495 views

Hello-
I'm a novice in CF9 world. I need to create a report in pdf with some tables. I've created it with cfdocument tag and css style.
Cfdocument doesn't support all the css styles[0] such as border-collapse and border-style:"thin". My problem is that I can't create a line very thin.
I've tried with css border-width with many units and values but the width doesn't go under 0.1em or 1px so I can't do lines as thin as those produced by ColdFusion Report Builder.

Can anyone tell me how can I create finer lines?


Many thanks for any suggestion,

Bryan

[0] http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7c21.html

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    June 6, 2012

    Tables are so 90's but this does seem to work for cfdocument pdf (inconsistent on web browser display though):

    .tbl {background-color:#000;}
    .tbl td,th,caption{background-color:#fff}

    ...

    <table cellspacing="1" class="tbl">
    ...
    </table>

    (border-spacing in style setting doesn't work - you have to put the attr in the table tag)