CFDOCUMENT, PDF, and CSS

Explorer ,
Oct 19, 2007 Oct 19, 2007

Copy link to clipboard

Copied

Hi folks -

I was wondering has anybody been successful in implementing CFDOCUMENT with PDF and a web page using CSS 1 or CSS 2?

When I display my web page in my browser (IE 6), it renders completely perfect. When I pushed it through CFDOCUMENT, it gets messed up when it is rendered.

I am open to ideas, suggestions, and other creative solutions.

I have already tried CFHTTP, and it won't work because of the tight environment we have in the office.

I can post my code if requested.

Thanks,

Doug
TOPICS
Reporting

Views

9.4K

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
Explorer ,
Oct 19, 2007 Oct 19, 2007

Copy link to clipboard

Copied

There are hotfixes available for CFDOCUMENT so if you haven't loaded those yet I wouid do that first.

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
Engaged ,
Oct 19, 2007 Oct 19, 2007

Copy link to clipboard

Copied

Fordian-Slip,

I have not had any luck myself working with separate css and cfdocument.

However, I have had success using css inline and getting the desired
results.

<p style="font-family:arial; font-size:12px; color: #FFFFFF; etc.>

Hope this helps you out, if not perhaps I don't understand what it is
you are trying to do and seeing your code might provide a clearer
picture.

Leonard B

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
Explorer ,
Oct 20, 2007 Oct 20, 2007

Copy link to clipboard

Copied

I have gotten it to work with CSS but for some reason, I need to link the .css file to the page through the import function.

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
Participant ,
Oct 26, 2007 Oct 26, 2007

Copy link to clipboard

Copied

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
New Here ,
Jan 09, 2013 Jan 09, 2013

Copy link to clipboard

Copied

use only

<style type="text/css">

  @import url("../../../comun/file_name.css");

</style>

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
Participant ,
Jan 09, 2013 Jan 09, 2013

Copy link to clipboard

Copied

LATEST

I wrote a chapter in LearnCFInAWeek.com that may be of great help to you: http://learncfinaweek.com/week1/cfdocument/

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