[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Backgroundimage in KHTMLPart, how?
From:       Jens Nixdorf <jens.nixdorf () embesso ! com>
Date:       2002-07-31 10:09:07
[Download RAW message or body]

Hi,

i want to generate a html-page dynamically with khtmlpart's 
write()-method.

browser = new KHTMLPart(this);
htmltext="<table><tr><td><font size=\"8\">Test</font></tr></table>";
browser->begin();
browser->setAutoloadImages(true);
browser->write("<body background=\"back.jpg\">");
browser->write(htmltext);
browser->write("</body>");
browser->end();

The Image is located in the same folder as the sourcecode. The table is 
generated, font size is ok, but the background-image not. Is this the 
wrong method to display backgrounds?

thanks, Jens 

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic