O'Reilly logo

Learning Dojo by Peter Svensson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Layout

The layout widgets in Dojo can often be alternatives to complicated CSS rules. Many times it is necessary to create pages with a two- or three-column layout, sometimes with a header and/or footer as well.

The layout manager widgets let you create powerful layouts without using more than a minimum of custom CSS styling. The layout managers have a lot of carefully laid-out styling that you can benefit from without having to interact with it. The BorderContainer makes sure that it has a proper margin to the widget it contains, as well as adding (removable) ‘gutter’ border lines for default clarity, for example. The TabContainer lets you programmatically choose if you want the tabs on top, bottom, left, or right without using any ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required