Sunday, February 27, 2011

Re: Scrollbars in IE with StackLayoutPanel

I couldn't find a way to change the size of the div which is always
rendered
in the body of my GWT host page:

> <div style="position: absolute; z-index: -32767; top: -20cm; width:
> 10cm; height: 10cm; ">&nbsp;</div>

But the solution was, rather simple, to change the code of the iframe
from:

> <iframe src="http://myapp.appspot.com/" width="300px" height="640px"
> style="padding-top: 10px; border-top-style: none; border-right-style:
> none; border-bottom-style: none; border-left-style: none; border-
> width: initial; border-color: initial; overflow: hidden; "></iframe>

to:

<iframe src="http://myapp.appspot.com/" width="300px" height="640px"
scrolling="no"; frameborder="0"; style="padding-top: 10px;"></iframe>

With this change, the scrollbars disappeared.

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment