Not seeing css appear in a pdf file generated on the fly coldfusion

Posted on 2013-08-29
Medium Priority
Last Modified: 2013-09-26

I am creating a bunch of files both html, and pdf on the fly using existing templates.  I see the html file with the stylesheet being applied. However, the pdf file does not have any of that it is just text.  The paths are the same. Anything different that needs to be handled when applying a stylesheet for a pdf?
Question by:armanbena
LVL 25

Expert Comment

ID: 39451321
yes - pdf's understand primitive css only - like css1 and maybe a bit of css2.
keep it real simple.
good luck ...
LVL 43

Accepted Solution

Rob earned 2000 total points
ID: 39451376
yes.  this is coldfusion 8 support for css: http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_d-e_05.html#4015343

You're going to have to have a different stylesheet for generating a pdf that only uses these

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question