Dec 21, 2009, 10:59 AM
Master Page, Centered Viewport
I can't seem to find an example of how to center (or include) a viewport inside its parent container when the parent is a div.
so for example suppose I have a div that is 800px wide and currently centered within the browser. Then I add a viewport inside that div. Any content I put in the viewport seems to expand and take up the entire browser window when I really want it to observe the parents width.
It almost seems as if everything is being rendered with absolute positioning. Is there a good example of centering things within the browser window? Maybe with a different ext container control?
Thanks in advance