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


    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.


    Test (Test)


    [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?




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


    oh sorry,

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


    Test (Test)



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


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


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


    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.