Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #26701


    I am trying to display the following html in a generated PDF:

    Hello $1000

    The border on the span is not being displayed.

    I have a similar piece of HTML to display a border around a td in a table and this renders fine.

    Any help is appreciated.



    PD4ML does not support SPAN borders. It is an implementation restriction: is interpreted as a text style changer (like , etc) and ignores some block element-specific styles.


    Maybe you can use the tag, to draw border around the text.

    Hello <input id=”” class=”” style=”cursor: auto; border: 3px solid blue; font-size:14px; width: 50px;” value=”$1000″/>

    But, you need set manually the width for the tag.

    Best solution could be, if will be supported, or any other way you can do that with the same result.


    display: inline-block; applied to DIV should also do the trick.





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

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