0 Replies Latest reply on Sep 24, 2008 8:47 AM by mooresm

    CSS Failure in cfdocument

    mooresm Level 1
      I'm using CF 8.01 with latest hotfixes. Have simple sample below that loops to create two PDF files. In the first one the CSS background-color style works. In the second it does not. Seems like a bug to me. Thoughts?

      <cfloop index="i" from="1" to="2">
      <cfdocument format="PDF" filename="#i#.pdf" overwrite="Yes">
      <html> <head>
      <style type="text/css" media="print"> h1 {background-color: #ddd;} </style>
      </head> <body>
      <h1>This is Heading One</h1>