<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>XUL Grid Test</title> <style type="text/css"> html { background: black; } html, body { margin: 0; padding: 0; height: 100%; } div { position: absolute; } </style> </head> <body> <div style="background: rgb(0, 102, 153); top: 0px; height: 100px; left: 0px; width: 100px;" /> <div style="background: rgb(0, 255, 0); top: 100px; bottom: 0px; left: 0px; width: 100px;" /> <div style="background: rgb(0, 255, 0); bottom: 0px; height: 300px; left: 100px; width: 100px;" /> <div style="background: rgb(0, 0, 153); top: 0px; height: 100px; left: 100px; right: 0px;" /> <div style="background: rgb(0, 0, 153); top: 100px; height: 100px; right: 0px; width: 300px;" /> </body> </html>