Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

GTK2::Html2 background

by gri6507 (Deacon)
on Mar 29, 2006 at 22:11 UTC ( [id://540067]=perlquestion: print w/replies, xml ) Need Help??

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://540067]
Approved by Paladin
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-03-28 20:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found