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