Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
  • #26883

    I encounter issue when converting a element with display:block. Pd4ml tend to ignore the display:block value which cause the background not expanding to its parent’s width.

    The HTML block:

    abc dddd

    .Section1Title {
    background-color: blue;
    display: block;


    PD4ML does not support display: block;, however display: inline-block; should work.


    I am using PD4ML Pro 3.8.5b9, and tried the display: inline-block;, but no luck.

    FYI, I used PD4ML as command line: java -jar pd4ml.jar file:test.htm test.pdf


    You are right: inline-block does not solve the issue with background expanding. For the time being there is no workaround. We’ll check what could be done in the forthcoming release.


    So, any tentative date for the next release?


    Close to end of the month. According to our plans it is Nov. 20, but it can take a week longer.


    It is now 2017 Sep 9 and display: inline-block; is still not working. Expanding the background color with padding in a is vital. Please fix this. 4 years should be sufficient time.


    End of January 2019 and display:inline-block is still not working. Please fix.

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

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