PD4ML v4 Forums PD4ML v3 Archived Forums (Read Only) HTML/CSS rendering issues Repeating background image overlaps each other

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"?><br /> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><br /> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:pd4ml="http://pd4ml.com/tlds/pd4ml/2.6" 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!

    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.