> > > > - > http://www.schacharena.de<http://www.google.com/url?q=http%3A%2F%2Fwww.schacharena.de&sa=D&sntz=1&usg=AFQjCNHenwVdB_OOzTQNoIRb_m19v_2BJg> > -> fixed-width, but background covers whole screen > > Thats just a background image on the body tag using CSS
> - > - http://www.muenchen.de > fixed-width, but a part of the "empty" area is filled with advertising > > In that case your RootLayoutPanel would be <page width> + <width of advertising area> wide and the advertisings would go into the DockLayoutPanel or whatever you want to use. > DockLayoutPanel page = new DockLayoutPanel(); // or any other layout widget >> RootLayoutPanel fixedWidthRootLayoutPanel = RootLayoutPanel.get(); >> fixedWidthRootLayoutPanel.setWidth("960px"); >> >> fixedWidthRootLayoutPanel.getElement().getStyle().setProperty("margin","auto"); >> > > In this example, "page" is created, but not connected to a surrounding > panel. Is there something missing? > Yeah the obvious RootLayoutPanel.get().add(page) is missing. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
