Sunday, January 15, 2012

how do you cause the body element to scroll?

Hi I have a very simple layout, with a header, footer and variable
length center element. I want to do two things:
1. wrap the entire thing in a <div class="container"> element so I can
use Twitter's Bootstrap CSS to layout my work.
2. Have the whole thing scroll using the native browser scrollbar when
the center element is sufficiently large that not all the content can
appear on the screen.

The closest I've been able to get is to use a ScrollPanel as the
outside panel and set its class to "container", which adds an interior
scroll bar around the whole thing. but it looks 'wrong' compared to
having the full window scroll.

Can anybody help me with this? It seems like a relatively simple
thing.

Thanks much.
larry

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