You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



Test #4 - Partition Magic

The following demo illustrates XBL's child partitioning capabilities. As far as the Web page is concerned, it has one parent div that contains a group of mixed up children.

Through the use of XBL, the children can be partitioned and placed within different anonymous containers. In this example, all of the images are placed in the first box, the links are placed in the second box, tables are placed in the third box, and everything else goes in the fourth box.

Mozilla.org MozillaZine
A table with a single cell.
Some random text that will go in the last box.