Skip to main content
Inspiring
February 20, 2015
Answered

Cfdocument and Style

  • February 20, 2015
  • 3 replies
  • 1069 views

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.
Correct answer plarts

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
March 18, 2015

Styling the HTML is one way to do it.

plartsAuthorCorrect answer
Inspiring
March 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.

BKBK
Community Expert
Community Expert
March 19, 2015

Thanks for sharing that with us.