Skip navigation
Currently Being Moderated

css in cfdocument

Apr 20, 2012 12:31 PM


my code below is working fine except the css didn't work if i have scope="row" in report.cfm page.  if  i removed that line, then the front size worked fine, otherwise, it was small.  I always have td scope in the cfm page with css with those style and it worked fine, but don't know if scope has something to do with cfdocument?





<cfif form.submit neq "">

<cfsavecontent vairable="">

<td scope="row">My Report</td>



<a href=pdf.cfm">view pdf</a>



<cfset request.theReport = />


<cfdocument format="pdf" orientation="landscape" marginRight=".5" marginLeft=".5">


body, table, th, td {font: normal normal normal 15px/normal, Arial;






  • Currently Being Moderated
    Apr 23, 2012 12:15 AM   in reply to kt03

    Include all the HTML table tags, table, tr, th, and so on, in report.cfm.

    Mark as:
  • Currently Being Moderated
    Apr 23, 2012 11:46 PM   in reply to kt03

    Could you then reproduce the code as close as possible to the version in which the error occurs? Just to rule out the obvious. I cannot tell you the number of threads I have participated in, where more than 20 posts had passed before the original poster realized he had simply put a dot in the wrong place.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points