<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <hbox height="40"> <spacer style="-moz-box-flex: 6000; background-color: red;"/> <spacer style="background-color: blue;"/> </hbox> </window>