Re: Background image shows up in hosted mode but not in web mode
It was, indeed, a css non-standard that was ignored by Firefox. Thanks for your answer. Manolis On Jun 12, 9:21 am, "alex.d" wrote: > Wrong path? Some CSS/browser issues? Who knows. Take firebug and check > your page's styling. > > On 11 Jun., 17:15, Manolis Platakis wrote: > > > Hello, > > > I have created the following css style to add a background image to > > the html page of my application. > > > .bg { > > background: url("images/bg.gif") 50% 50% no-repeat; > > > } > > > and in the .java I have: > > > RootPanel.get().addStyleName("bg"); > > > In hosted mode I can see the background image but in web mode (after > > compiling), although the application is up to date, the background > > image does not show up. > > > Any ideas on why this might be happening? > > > Thanks in advance, > > Manolis --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Background image shows up in hosted mode but not in web mode
Wrong path? Some CSS/browser issues? Who knows. Take firebug and check your page's styling. On 11 Jun., 17:15, Manolis Platakis wrote: > Hello, > > I have created the following css style to add a background image to > the html page of my application. > > .bg { > background: url("images/bg.gif") 50% 50% no-repeat; > > } > > and in the .java I have: > > RootPanel.get().addStyleName("bg"); > > In hosted mode I can see the background image but in web mode (after > compiling), although the application is up to date, the background > image does not show up. > > Any ideas on why this might be happening? > > Thanks in advance, > Manolis --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Background image shows up in hosted mode but not in web mode
Hello, I have created the following css style to add a background image to the html page of my application. .bg { background: url("images/bg.gif") 50% 50% no-repeat; } and in the .java I have: RootPanel.get().addStyleName("bg"); In hosted mode I can see the background image but in web mode (after compiling), although the application is up to date, the background image does not show up. Any ideas on why this might be happening? Thanks in advance, Manolis --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---