XmlWorker cannot show background image

Eric Chow <[email protected]> Mon, 31 Oct 2016 16:52:05 +0800
Newsgroups gmane.comp.java.lib.itext.general
Message-ID <CAO5vti_Q=u8OHVKBc_hZLOKVvuALDxsWR9PkcSxesY5TKPLYAA@mail.gmail.com>
--===============2837931272578458427==
Content-Type: multipart/alternative; boundary=94eb2c0766988dfb1805402552cc

--94eb2c0766988dfb1805402552cc
Content-Type: text/plain; charset=UTF-8

Hello,

I am using itext-5.5.9 and XmlWorker-5.5.9 to render a HTML into PDF.


One of my CSS as following:


.test {
background: url(doc/dot.gif) repeat-x bottom left;
overflow: hidden;
padding-bottom: 2px;
}



But it cannot show the dot.gif. Please teach me how I can do it?

Best regards,
Eric

--94eb2c0766988dfb1805402552cc
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello,<div><br></div><div>I am using itext-5.5.9 and XmlWo=
rker-5.5.9 to render a HTML into PDF.</div><div><br></div><div><br></div><d=
iv>One of my CSS as following:</div><div><br></div><div><br></div><div><div=
>.test {</div><div><span class=3D"gmail-Apple-tab-span" style=3D"white-spac=
e:pre">	</span>background: url(doc/dot.gif) repeat-x bottom left;</div><div=
><span class=3D"gmail-Apple-tab-span" style=3D"white-space:pre">	</span>ove=
rflow: hidden;</div><div><span class=3D"gmail-Apple-tab-span" style=3D"whit=
e-space:pre">	</span>padding-bottom: 2px;</div><div>}</div></div><div><br><=
/div><div><br></div><div><br></div><div>But it cannot show the dot.gif. Ple=
ase teach me how I can do it?</div><div><br></div><div>Best regards,</div><=
div>Eric</div><div><br></div><div><br></div></div>

--94eb2c0766988dfb1805402552cc--


--===============2837931272578458427==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
--===============2837931272578458427==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
--===============2837931272578458427==--