Skip to main content
Inspiring
Feb 20, 2015 8:02 PM UTC
Answered

Cfdocument and Style

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.

This topic is closed to new replies. Start a new post to keep the conversation going.
plartsCorrect answer
Inspiring
Mar 19, 2015 10:24 AM UTC

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.

3 replies

BKBK
Community Expert
Community Expert
Mar 18, 2015 10:04 PM UTC

Styling the HTML is one way to do it.

Translate
plartsAuthorCorrect answer
Inspiring
Mar 19, 2015 10:24 AM UTC

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.

Translate
BKBK
Community Expert
Community Expert
Mar 19, 2015 6:49 PM UTC

Thanks for sharing that with us.

Translate