Hi,

I know the blank page phenomenon only from the following
constellation:
Quirks mode + RootLayoutPanel + IE

So either use standards mode (<!DOCTYPE html>), or use RootPanel.

BTW (independently from GWT), "zoom:1" helps IE<8 to assign
"hasLayout" to elements which usually don't. This is especially needed
in conjunction with "position:relative", which itself fixes some
severe IE<8 layout problems. See 
http://www.satzansatz.de/cssd/onhavinglayout.html

I don't know, if it would be possible to generate a version of this
for IE8 in standards mode - but I don't think that GWT knows, if we're
in standards mode or not (it would have to read the HTML file, and use
the browser's complex heuristics to determine, if we really are).

In any case, I don't think you should attempt to remove the style
value!

Chris

On Feb 27, 7:53 am, Tapas Adhikary <tapas4...@gmail.com> wrote:
> I was using GWT 1.7 in My Application. One of my page is using ScrollPanel.
> Since I upgraded to GWT 2.0 , I am getting a blank screen where scrollPanel
> is used. Using the F12 DOM debugging I found , GWT 2.0 includes with an
> extra child DIV for Scroll Panel. And the DIV has a style of
> position:relative and Zoom:1. This DIV is not there  if I use GWT 1.6. If I
> remove the style of the extra DIV from debug window , I am able to see the
> page rendering.
>
> I have tried to do the following from GWT java class,
>
> right.getElement().getFirstChildElement().setAttribute("style", ""); //
> where right is the Scroll Panel
>
> But this is not working in IE8 . it works good for Mozilla Firefox and
> Chrome browser.
>
> Any help , what I should do to remove the style programmatically for IE8 ?
> Or is there any other way to deal with that ?
>
> Thanks,
> -Tapas

-- 
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-tool...@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.

Reply via email to