Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cfdocument css

Status
Not open for further replies.

sange40

Programmer
Oct 5, 2003
3
AU
I have a CF MX 7 app that, when run on my pc(windows)creates a PDF using an imported stylesheet I have within the cfdocument tags. The PDF can range from 4-100 pages and is created dynamically.

However, when I try to run this same app in our production environment (linux), the stylesheet is completely disregarded and everything appears in a large times roman font. I Have tried outputting to flashpaper and I still get the same issue.

I have CF MX 7.0.0 on my pc and CF MX 7.0.1 is running in the production environment.

I have seen in other forums that fonts must be in CF Admin and I have addded these in to the production environment and still there is no change.

I have seen in forums that it is recommended to install updater 2 , though there have been issues with large pdf documents.

Can anyone please tell me if they have found a solution to this problem or whether there is a workaround.

Thanking you in advance.
 
Hi

Did you solve this as I have the same problem? I did solve it in one document, some time back, by putting the link to the stylesheet within the cfdocument tag, but that isn't working this time.

Thanks

Jo
 
have you looked at CASE..

in your stylesheet what si the case of the class.

what case you you using in your code to display.. example.

STYLESHEET *******
.header{whatever}
******************

in code
<div class="Header">Text Here </div>

also check the case of the .css file and where you are calling it as well
 
Finally got it to work, though had to resort to using the style classes in the <style> tag, rather than using @import.

Thanks everyone for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top