vbox { -moz-box-align: center; /* http://www.xulplanet.com/references/elemref/ref_StyleProperties.html */ } #main { } #main button { -moz-appearance: none; background-color: red; } .c_foo { -moz-appearance: none; background-color: blue; } #main #i_bar { -moz-appearance: none; background-color: yellow; } #i_foo { -moz-appearance: none; background-color: green; } #i_foo:hover, #i_foo:focus { background-color: white; } #i_foo[checked="true"]{ background-color: black; }