add($first_box, 0, 0); $grid_box->add($second_box, 1, 0); //$grid_box->add($third_box, 0, 1); $grid_box->add($fourth_box, 1, 1); // define the page as contained in the div element "content", and composed of the box created just above $page=new PageLayout("content", $grid_box); ?> Pierrox.net - Diable - example 04, four boxes in a grid
first box
second box
fourth box