views:

333

answers:

1

I'm using dijit.layout.BorderContainer for layout on a page. The regions present are top, leading, and center. The top and leading regions appear just like I want them to. The center region, however, has a scrollbar. Instead of a scrollbar for just the center pane, I want one scrollbar for the entire window. That is, I want to move the top region out of view when I scroll down.

Is this possible? If so, how?

As a side note, I've tried every combination of overflow-y that I can think of. It's probably part of the solution, but clearly not the entire solution.

FWIW, I'm using Dojo 1.4.1. Browser doesn't matter.

A: 

You should be setting the height and width of your BorderContainer. If you want scrollbars on the browser window, the BorderContainer and other content on the page must exceed the viewport.

peller