Firefox Extension Toolbarbutton CSS in Windows 7

Lesson learned today:

If you have a Firefox extension and you use the toolbarbutton element.

In Windows 7 you can only use list-style-image to style it. Background color, -moz-linear-gradient, and -moz-border radius don’t do anything, plus you get a special fancy hover effect.

I ended up converting the toolbarbutton tags to a tags and moving on with life. Had to convert oncommand to onclick and say goodbye to the tooltiptext.

October 15, 2010 in Uncategorized
Tagged , , ,