Yes, change the first line to just <!DOCTYPE html> to force standard
mode.

On Apr 20, 3:43 pm, malibubu <[email protected]> wrote:
> Sorry, I've forgotten to copy the line from the MainView.html:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
>   <head>
>     <meta http-equiv="content-type" content="text/html;
> charset=UTF-8">
>     <title>MainView</title>
>     <script type="text/javascript" language='javascript'
> src='mainview/
> mainview.nocache.js'></script>
>   </head>
>   <body>
>     <iframe src="javascript:''" id='__gwt_historyFrame' tabIndex='-1'
> style='width:0;height:0;border:0'></iframe>
>     <noscript>
>       <div style="width: 22em; position: absolute; left: 50%; margin-
> left: -11em; color: red; border: 1px solid red; padding: 4px; font-
> family: sans-serif">
>         Your web browser must have JavaScript enabled
>         in order for this application to display correctly.
>       </div>
>     </noscript>
>    </body>
> </html>
>
> But it doesn't work  :(
> Any other suggestions?
>
> On 20 Apr., 17:32, kozura <[email protected]> wrote:
>
>
>
> > Make sure your html is set to standard vs quirks mode with <!DOCTYPE
> > html> at the top:
>
> >http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html#St...
>
> > On Apr 20, 9:08 am, malibubu <[email protected]> wrote:
>
> > > Hi Everybody,
>
> > > I only get a blank page in IE7/8, but I don't find the reason. If I
> > > use the Developertool from the IE (F12), I see the HTML-Components
> > > very well, but they are not rendered:
>
> > > MainView.java:
> > > public class MainView implements EntryPoint {
>
> > >         private DockLayoutPanel dockLayoutPanel = new
> > > DockLayoutPanel(Unit.PX);
>
> > >         public void onModuleLoad() {
> > >                 dockLayoutPanel.addWest(new NavigationWidget(), 225);
> > >                 dockLayoutPanel.add(new AppToolbar());
> > >                 RootLayoutPanel root = RootLayoutPanel.get();
> > >                 root.add(dockLayoutPanel);
> > >         }
>
> > > }
>
> > > NavigationWidget.java:
> > > public class NavigationWidget extends Composite {
>
> > >         public NavigationWidget() {
> > >                 FlowPanel dp = new FlowPanel();
> > >                 initWidget(dp);
>
> > >                 Label si = new Label("NAVIGATION");
> > >                 dp.add(si);
> > >         }
>
> > > }
>
> > > AppToolbar.java:
> > > public class AppToolbar extends Composite {
>
> > >         public AppToolbar(ApplicationConfiguration app) {
> > >                 FlowPanel dp = new FlowPanel();
> > >                 initWidget(dp);
>
> > >                 Label si = new Label("NAVIGATION");
> > >                 dp.add(si);
> > >                 GWT.log("AppToolbar init");
> > >         }
>
> > > }
>
> > > Mainview.html:
> > > <html>
> > >   <head>
> > >     <meta http-equiv="content-type" content="text/html;
> > > charset=UTF-8">
> > >     <title>MainView</title>
> > >     <script type="text/javascript" language='javascript' src='mainview/
> > > mainview.nocache.js'></script>
> > >   </head>
> > >   <body>
> > >     <iframe src="javascript:''" id='__gwt_historyFrame' tabIndex='-1'
> > > style='width:0;height:0;border:0'></iframe>
> > >     <noscript>
> > >       <div style="width: 22em; position: absolute; left: 50%; margin-
> > > left: -11em; color: red; border: 1px solid red; padding: 4px; font-
> > > family: sans-serif">
> > >         Your web browser must have JavaScript enabled
> > >         in order for this application to display correctly.
> > >       </div>
> > >     </noscript>
> > >    </body>
> > > </html>
>
> > > Any suggestions?
>
> > > Thanks and regards!
>
> > > --
> > > 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 
> > > athttp://groups.google.com/group/google-web-toolkit?hl=en.
>
> > --
> > 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 
> > athttp://groups.google.com/group/google-web-toolkit?hl=en.-Zitierten Text 
> > ausblenden -
>
> > - Zitierten Text anzeigen -
>
> --
> 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 
> athttp://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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