PD4ML v4 Forums PD4ML v3 Archived Forums (Read Only) HTML/CSS rendering issues span tag not displaying border

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

    Hi,

    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.

    Regards

    #28924

    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.

    #28925

    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.

    #28926

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

    [language=xml:2bodw95c]

    Hello

    $1000

    [/language:2bodw95c]

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

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