gri6507 has asked for the wisdom of the Perl Monks concerning the following question:

Fellow monks,

I looked around and there doesn't seem to be much documentation for Gtk2::Html2 module. I am trying to use this module to display HTML contents inside my Gtk2 GUI. I have noticed that if the HTML code contains a bgcolor="#nnnnnn" attribute in the <body> tag, Gtk2::Html2 renders the background color as expected. However, if I use background="path/to/image" as an atribute in the <body> tag, then Gtk2::Html2 does not render the background image at all.

Does anyone know why this is? Or better still, how to make it work?

Thanks.

Replies are listed 'Best First'.
Re: GTK2::Html2 background
by socketdave (Curate) on Mar 29, 2006 at 22:37 UTC
    I'm not familiar with GTK2::Html2, but...
    I would start by loading the same path with an img tag. If it works, then the background attribute in body tags may be broken. If it doesn't, you might have a bad path.