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

697

Likes

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.

Likes

Translate

Translate
Adobe Community Professional ,
Mar 18, 2015 Mar 18, 2015

Copy link to clipboard

Copied

Styling the HTML is one way to do it.

Likes

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.

Likes

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

Copy link to clipboard

Copied

LATEST

Thanks for sharing that with us.

Likes

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