That which we know is a little thing; that which we do not know is immense.” Pierre - Simon de Laplace
A resource for web developers a code snippet library with step by step tutorials.

a resource for web developers...

       

Search Amazon

XHTML: CSS Layout tutorial code snippet 5.

 

Up Up to XHTML: CSS Layout overview page

 

 

Further nesting of parent and child divisions: a simple centred (centered) two column layout.

The absolute positioning of two child divisions within a wrapping parent division creates a simple two column layout centred on the screen.

Using relative positioning on the wrapping parent division creates a positioning reference for the child divisions.

 





Output view

 

 

Open the above example in a new window to view the layout in full.


View above example in a new window



Back to top

 

Bookmark and Share

 

Copyright © 2006-2010 justfigures.co.uk