Highlighted

Cfdocument and Style

Contributor ,
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.

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.

TOPICS
Advanced techniques

Views

679

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

Cfdocument and Style

Contributor ,
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.

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.

TOPICS
Advanced techniques

Views

680

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
Feb 20, 2015 0
Adobe Community Professional ,
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
Reply
Loading...
Mar 18, 2015 0
Contributor ,
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
Reply
Loading...
Mar 19, 2015 0
BKBK LATEST
Adobe Community Professional ,
Mar 19, 2015

Copy link to clipboard

Copied

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
Reply
Loading...
Mar 19, 2015 0