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


    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"?><br /> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ""><br /> <html xmlns="" xmlns:pd4ml="" xml:lang="fi" lang="fi"><br /> <head><br /> <title>transparent bg test</title><br /> <style rel="stylesheet" type="text/css"><br /> #d1<br /> {<br /> width: 300px;<br /> height: 300px;<br /> background-image: url("your image url");<br /> background-repeat: repeat;<br /> background-position: left top;<br /> }<br /> </style><br /> </head><br /> <body lang="FI_fi"><br /> <div id="d1"><br /> </div><br /> </body><br /> </html>

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

    Thanks in advance!



    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.