• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How can I get 100% control over the style of my PDF using cfhtmltopdf and css.

New Here ,
Aug 07, 2017 Aug 07, 2017

Copy link to clipboard

Copied

How can I get 100% control over the style of my PDF using coldfusion's cfhtmltopdf and css. I would like to know if CSS paged media or print css works with cfhtmltopdf. 

I have successfully created PDFs. My normal CSS shows fine, it's just the @print css and @media print calls are ignored.

What does work is page-break-before: always but other page-break styling gets ignored.

css_sample.png

Views

250

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources
Documentation