HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › HTML/CSS rendering issues › Three Issues
- This topic has 9 replies, 2 voices, and was last updated Dec 10, 2009
16:28:53 bymica.cooper.
-
AuthorPosts
-
December 9, 2009 at 21:35#26292
We are evaluating PD4ML and see three issues:
1. Loading of a style sheet from a link and http://…. does not seem to work. If we insert the style sheet into the html it works. Did we do something wrong?
2. PD4ML seems to ignore the z-index completely. Is this correct? We have experimented with this and it does not seem to work. Many of our forms are layered and this is an issue.
3. elements do not place properly for example:
Thank you,
MicaDecember 10, 2009 at 01:22#27642Forgot to mention I’m using the latest Java 351 trial pro download as of Dec 8.
The css link that fails looks like:
December 10, 2009 at 14:32December 10, 2009 at 14:53#276451. First please make sure, that the server, where PD4ML binaries are, is able to resolve “www.xxx.com” into a correct IP address and able to establish a connection to it. Often servers within intranet do not “know” their external (Internet) names, IPs or routing to the IPs.
If the resources are on the same server where PD4ML is, it makes no practical sense to use fully specified URLs. I would suggest to use relative paths “../images/my.png” (note: there is no leading slash) or absolute web paths “/images/my.png”, but for the second option you need to invoke pd4ml.useServletContext().
2. z-index works only for absolutely positioned elements.
3. Currently you may apply absolute positioning to block elements (i.e.
,) and
elements only.
December 10, 2009 at 15:01#27646So,
The SPAN element works with absolute positioning but the INPUT does not?
Is this correct? About 1/3 of our html forms consist of user filled INPUT elements so this is a big thing. If this is so, please update the reference chart for this.
Also, are there any plans to implement this?
Thank you!
December 10, 2009 at 15:27#27643I guess we’ve forgotten to add the absolute positioning possibility to . From Java coding perspective, the implementation of it should be identical to
. If it is that simple as “copy-paste” (I expect), we’ll try to include the fix to the forthcoming release.
December 10, 2009 at 15:42December 10, 2009 at 16:08#27648ohhhh….
What about checkboxes and radio buttons?December 10, 2009 at 16:16#27649We’ve just fixed the positioning problem, but did not test it in untrivial scenarios like nesting of absolute/relative positioned elements.
Later today we’ll pass v360b1 to QA. If everything is OK, the beta release will be available for download tomorrow after 18:00.
(checkboxes and radios are fixed too)
December 10, 2009 at 16:28#27650Awesome…
I’ll download that and if it works purchase the PRO.
Thanks!!!
PS. Expect a couple of questions in email lol. -
AuthorPosts
The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.
