thanks for your reply, but this is not working since I am using a
viewport to display the portal, (adding the portal to the rootpanel
does not work)
I tried putting the background image code before and after
instantiating the viewport, but still no success.
the viewport seems to override the rootpanel.
code i used:
AbsolutePanel ap = new AbsolutePanel();
Image img = new Image("./images/tq.jpg");
ap.add(img);
RootPanel.get().add(ap);

On 10 sep, 15:51, "alex.d" <[EMAIL PROTECTED]> wrote:
> Just add an AbsolutePanel to your RootPanel, and an Image to the
> AbsolutePanel.
>
> On 10 Sep., 15:00, 0ne_Up <[EMAIL PROTECTED]> wrote:
>
> > Hi, I'm trying to create a portal with a background image.
> > i've tried setting the background in the body tag of the public html
> > page,
> > and I also tried to add css to the portal and it's containing panel.
> > so far, no success.
> > anyone knows how to do this?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to