PDF conversions with css.
September 19, 2005 9:21 PM
Subscribe
PDF from html with extensive css. How do I resolve my formatting issues?
I'm doing conversion of an extensively css2 controlled web page into pdf. It has to be from a web page because of the extent of the dynamic content. Specifically, I'm having multiple issues.
First, I'm trying to get transparency to work in the images I put into the pdf, when it appears fine in the browser. I haven't found any evidence of support for .gif or .png in any of my searches. I really don't like the idea of having to get my php code to dynamically combine the layers and turn it to a single .jpg file.
Second, I can't get any web page background images to display once converted. As far as I can tell, it doesen't matter if the background is hard-coded to the element or exists in my .css file. I need the background to make it more professional, as this is being developed for military reasons.
Third, occasionally the .pdf will only produce the first page, and it is directly linked to the amount of css control in use, although I can't seem to find the individual factors causing this. Can you help me track it down?
posted by mystyk to computers & internet (8 comments total)
posted by cosmicbandito at 10:12 PM on September 19, 2005