HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › HTML/CSS rendering issues › CSS and PHP to PDF
- This topic has 1 reply, 2 voices, and was last updated Nov 15, 2011
15:02:40 by Anonymous.
-
AuthorPosts
-
January 20, 2011 at 21:31#26509
I am trying to learn the product and am using the trial version.
I have managed to make my page generate a pdf but a couple of things go wrong and im not sure why.If I leave this line in my code
<?php include("header.html"); ?>
Then the pdf generates this and stops at that point – it ignores the rest of the page.
If I take it out – the remainder of my pade goes to pdf.Secondly when i get the remainder to goto pdf it is css free. nothing no css.
I have tried using
<link href="report.css" title="Default Style" media="screen" rel="stylesheet"/>
and tried putting all the css on the page in
<style type="text/css"></style>
But I get nothing.
HOWEVER – If I put all the css in each
November 15, 2011 at 15:02#28374try to use full URL for your css
AuthorPostsViewing 2 posts - 1 through 2 (of 2 total)The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.