Hello,
I have W3C-valid HTML 4.01 Transitional files (with in-line CSS) and would like to be able to convert them to PDF format using Prince, but am having some trouble: the generated PDF does not mimic the HTML/CSS I see in Firefox, Chrome, or Internet Explorer on Windows XP. The PrinceXML homepage advertises complete support for HTML; as this is valid HTML, I am wondering where I am making a mistake and would appreciate some advice.
I've tried leaving the CSS in the <style> tags as well as in-line and it does not seem to make a difference.
I did notice that the Prince PDF output is very close to the how the page displays when I try giving it a <!DOCTYPE of HTML 4.01 Strict or of XHTML; is there a setting available to force Prince to parse it at HTML 4.01 Transitional rather than any of the other formats? I was planning on purchasing a license for Prince but am hesitating while I try to fix this problem.
Thank you in advance for any suggestions.
I have W3C-valid HTML 4.01 Transitional files (with in-line CSS) and would like to be able to convert them to PDF format using Prince, but am having some trouble: the generated PDF does not mimic the HTML/CSS I see in Firefox, Chrome, or Internet Explorer on Windows XP. The PrinceXML homepage advertises complete support for HTML; as this is valid HTML, I am wondering where I am making a mistake and would appreciate some advice.
I've tried leaving the CSS in the <style> tags as well as in-line and it does not seem to make a difference.
I did notice that the Prince PDF output is very close to the how the page displays when I try giving it a <!DOCTYPE of HTML 4.01 Strict or of XHTML; is there a setting available to force Prince to parse it at HTML 4.01 Transitional rather than any of the other formats? I was planning on purchasing a license for Prince but am hesitating while I try to fix this problem.
Thank you in advance for any suggestions.
Edited by algorithmetics