Share on Google+Share on Google+

Dojo BorderContainer

In this section, you will learn about the dojo BorderContainer.

Dojo BorderContainer


In this section, you will learn about the dojo BorderContainer.

BorderContainer: This is a container that operates in a choice of two layout modes: 1. The design attribute may be set to "headline" (by default) or 2. "sidebar". The "headline" layout extends the top and bottom regions of entire width of the box . And the remaining regions are placed in the middle or center. The "sidebar" layout, the side panels take priority to extend the full height of the box.

Try Online: BorderContainer

Here is the code for BorderContainer Example:


<title>Layout Container Example</title>
  <style type="text/css">
  @import "../dijit/themes/tundra/tundra.css";
  @import "/resources/dojo.css"
  <script type="text/javascript" src="http://o."
  djConfig="parseOnLoad: true"></script>

  <script type="text/javascript">

<body class="tundra">

  <div dojoType="dijit.layout.BorderContainer" design="screenDesign">

 <div dojoType="dijit.layout.ContentPane" id="top" 
region="top" style="background-color:gray">
 <h3> Roseindia Technology Pvt. Ltd.</h3>

 <div dojoType="dijit.layout.ContentPane" id="left" region="left" 
  style="background-color:lightblue;width: 125px;">
  <B>Tutorials List</B>


  <div dojoType="dijit.layout.ContentPane" id="center" region="center"
  <li>Short description</li>
  <li>Brief description </li>
  <li>Running Examples</li>

  <div dojoType="dijit.layout.ContentPane" id="right" region="right"
  style="background-color:pink; width: 130px;">
  <img src="advertisement.gif" align="right"/>


Output of BorderContainer :

Try Online:



Posted on: November 1, 2008 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Share this Tutorial Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Discuss: Dojo BorderContainer   View All Comments

Post your Comment

Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
June 14, 2012

That are really great news! We have ientgrated Dojo 1.6 into one of our products with almost no effort.But what about a maintenance release for Dojo 1.5? There is still another product of us stuck with that release, and we'd like to get IE9 support in there. The 1.5.1rc1, available for download since more than a month without a final release appearing, doesn't seem to be IE9-capable either Any hope that there will be an IE9-compatible Dojo 1.5 in near future?