HTML to PDF / DOCX / RTF Java converter library Forums PD4ML Forums Technical questions / Troubleshooting border-radius with back-ground color not working properly

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #33647

    Hi,

    We are in process of buying pd4ml UA license. So currently, we are performing some tests with the demo jar (pd4ml v4.0.5-SNAPSHOT).
    When border-radius is specified along with background-color for an element, background-color is being applied to the complete box, not taking into consideration the border-radius specified.
    Please find the attached markup and the pdf generated with the markup in attachments

    Thanks,
    Rekha

    Attachments:
    You must be logged in to view attached files.
    #33649

    Attaching the markup
    <html>
    <head>
    <style>
    body{
    background-color: #cccccc;
    }
    button{
    border: 1px solid blue;
    border-radius: 20px;
    background-color: #ffffff;
    height: 30px;
    }
    </style>
    </head>

    <body>
    <button> Button </button>
    </body>
    </html>

    • This reply was modified 5 years, 4 months ago by Rekha Tavvala. Reason: Not able to attach markup
    #33655

    Can someone please respond to this post?

    #33696

    The issue is solved with the actual snapshot build

    #33698

    Thank you. This is working now

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

You must be logged in to reply to this topic.