#debian-bts-query-button-1, #wrapper-debian-bts-query-button-1 {list-style-image: url("chrome://debian-bts/content/button-1.png");} /* common style for all custom buttons */ .debian-bts-query-button {-moz-image-region: rect( 0px 24px 24px 0px);} .debian-bts-query-button:hover {-moz-image-region: rect(24px 24px 48px 0px);} [iconsize="small"] .debian-bts-query-button {-moz-image-region: rect( 0px 40px 16px 24px);} [iconsize="small"] .debian-bts-query-button:hover {-moz-image-region: rect(24px 40px 40px 24px);}