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

Cfdocument and Style

Contributor ,
Feb 20, 2015 Feb 20, 2015

Copy link to clipboard

Copied

How to render the included style via the CFdocument to create a PDF ?

Font size, family, color, backgound color are not rendered.

Is there a special syntax to make it work ?

My code is :

I do a cfsavecontent

and put the variable in the cfdocument

the style is in the head of the html.

Thanks for any help.

Pierre.

TOPICS
Advanced techniques

Views

814

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

correct answers 1 Correct answer

Contributor , Mar 19, 2015 Mar 19, 2015

I have succeeded to render the style,

when putting the style tag Inside the cfsavecontent.

not outside in the head of the html.

(<style></style> Inside cfsavecontent)

Thanks.

Votes

Translate

Translate
Community Expert ,
Mar 18, 2015 Mar 18, 2015

Copy link to clipboard

Copied

Styling the HTML is one way to do it.

Votes

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
Contributor ,
Mar 19, 2015 Mar 19, 2015

Copy link to clipboard

Copied

I have succeeded to render the style,

when putting the style tag Inside the cfsavecontent.

not outside in the head of the html.

(<style></style> Inside cfsavecontent)

Thanks.

Votes

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
Community Expert ,
Mar 19, 2015 Mar 19, 2015

Copy link to clipboard

Copied

LATEST

Thanks for sharing that with us.

Votes

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
Resources
Documentation