Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #26752

    Hi!

    I came across an issue which I’m not sure if it’s pd4ml or pdf related.

    Below is code html example that contains a div with repeating image as background. Bacground image is semi-transparent (30×60) and is repeated both horizontally and vertically across the div area (300×300). For some reason each repeated backround parts overlap by 1 pixel creating an unwanted grid in the background. With solid backgound this slipped out of sight but as soon as transparent image was used it was noticed.

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:pd4ml="https://pd4ml.com/tlds/pd4ml/2.6" xml:lang="fi" lang="fi">
    <head>
    <title>transparent bg test</title>
    <style rel="stylesheet" type="text/css">
    #d1
    {
    width: 300px;
    height: 300px;
    background-image: url("your image url");
    background-repeat: repeat;
    background-position: left top;
    }
    </style>
    </head>
    <body lang="FI_fi">
    <div id="d1">
    </div>
    </body>
    </html>

    Is this a bug or pdf feature? Tested with 3.8.0fx4

    Thanks in advance!

    Kalle

    #29057

    Any updates on this?

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

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