2.3 Embedding div elements

The container regions are represented as <div> elements. For example, the “bottomrighttop” region contains the white and lavender regions. The content (in the <body> element) can be expressed as in listing 1.


Listing 1:divindiv
 
1<div class=bottomrighttop> 
2  <div class=white> 
3    <p>Content in the white region.</p> 
4  </div> 
5  <div class=lavender> 
6    <p>Content in the lavender region.</p> 
7  </div> 
8</div>