Re: Setting Background image on panel

2009-07-30 Thread Ed
Your css contains a mistake: you have to set a fixed height and width on your panel, and not through %. Try it and you will see it works. You did the same by adding a widget to it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: Setting Background image on panel

2009-07-30 Thread Manuel Carrasco MoƱino
You change your css by: *.rightPanelReservedZone {* * **background: red; } * If you can see the panel's backgroud in red, the problem is in the image's url. Also you can check if there is any error using firebug Manolo Carrasco 2009/7/29 Rodrigue Lagoue rlag...@googlemail.com Hi Ed at

Re: Setting Background image on panel

2009-07-29 Thread Ed
Do you know how to set the background-image of any html tag, like a DIV through CSS? 1) If yes: then you have your solution as you only have to set the CSS name on your widget/panel through for example setStyleName(String). 2) If not: please have a look at some HTML book how to do this and go

Re: Setting Background image on panel

2009-07-29 Thread Rodrigue Lagoue
Hi Ed at first thanks for your answer. 1) If yes: then you have your solution as you only have to set the CSS name on your widget/panel through for example setStyleName(String). it's the first thing i tried. But it didn't work at all. here is a listing of the involved part in my css file:

Re: Setting Background image on panel

2009-07-29 Thread Nuno
but you may be setting the wrong path... unless your css file is located on the same page as the html... otherwise you would be looking at: blablabal/*css*/images/bgleer.jpg from your css * * *and * blablabal/images/bgleer.jpg from your GWT/html code On Wed, Jul 29, 2009 at 5:22 AM, Rodrigue

Re: Setting Background image on panel

2009-07-29 Thread Rodrigue Lagoue
hi Nuno! no the path .../pic.jpg was just an example. i found out that the problem could be that the panel who supposed to have the image background is empty. If i put some widgets on this panel, the image background become visible. I cannot explain why. thanks On Wed, Jul 29, 2009 at 4:25 PM,

Setting Background image on panel

2009-07-28 Thread rlag...@googlemail.com
Hi all, i'm new to GWT. I would like to know if there is a way to set a background image on a panel. thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Setting Background image on panel

2009-07-28 Thread Rodrigue Lagoue Njinthe
[mailto:google-web-tool...@googlegroups.com] On Behalf Of rlag...@googlemail.com Sent: Tuesday, July 28, 2009 8:14 PM To: Google Web Toolkit Subject: Setting Background image on panel Hi all, i'm new to GWT. I would like to know if there is a way to set a background image on a panel. thanks