PD4ML v4 Forums PD4ML v3 Archived Forums (Read Only) HTML/CSS rendering issues problems with pd4ml.pro.trial.351b7

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #26235

    hi,

    we like to buy a liciense of your html to pdf tool. Currently we evaluating the trail version. But we have some problems with floating divs. Left floated divs are stacked in the pdf file. We doesn’t touch the java file. Here the html code.

    html:
    [language=html:eilo2pqv]

    Test
    Test (Test)


    [/language:eilo2pqv]

    css:
    [language=css:eilo2pqv]body { font-family: Arial,Helvetica,sans-serif; font-size: 0.8em; margin: 10px; padding: 0px; }
    div.content { width: 950px; }
    .normal { font-weight: normal; }
    div.gray_bar {height: 20px; color: #FFFFFF; background-color: #BBBBBB; border: 1px solid #000000; width: 100%; font-weight: bold; clear: both;}
    div.test { width: 50%; padding-top: 2px; float: left; }[/language:eilo2pqv]

    pdf_out.jpg shows the output. What is the problem?

    thanks

    André

    #27418

    I opened the document in MS IE and got more-less the same result. Could you please describe what is the expected layout?

    #27419

    oh sorry,

    there was a little bug in the html, here the correct code:

    [language=html:1mre43hc]

    Test
    Test (Test)


    [/language:1mre43hc]

    #27420

    For the test, of course, I placed the style to the document inline. The rendering result is identical to MS IE.

    #27421

    the error was in line 8 and 9 of html code.
    the div’s must have the css class ‘test’.

    #27422

    I changed the class from “addressen” to “test” and again got identical results in MS IE and PDF.

    #27423

    Ok, i found my mistake. It was in the java code. I changed the output format. Now it works fine. Many thanks for your effort!

Viewing 7 posts - 1 through 7 (of 7 total)

The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.