Java J2EE

Posted by : Guest
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
 
 
Posted by : Guest
Re : Setting Background image on panel
Hi

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:

.rightPanelReservedZone {
background-image: url(images/bgleer.jpg);

background-repeat: no-repeat;
background-attachment: fixed;

font-family: Arial, Helvetica, sans-serif;
font-size: 12px;

font-style: normal;
font-weight: normal;
height: 90%;

width: 85%;
}

and i then add a new style by calling:


 
 
If you have the better reply, then send it to us. We will display your reply after the approval.
Name : 
Email Id :   
Reply :