4.5. Style Options

All the CSS2 styling information is available for use on buttons and in skins.

The proposed CSS3 style font-family: button, which sets the font to match the font used for <button>, can be applied with this Mozilla extension:

font-family: -moz-button;

The -moz-appearance property, which turns on native theme support, accepts the following values for the button tags described in this chapter:

button
resizer
scrollbarbutton_down
scrollbarbutton_left
scrollbarbutton_right
scrollbarbutton_up
scrollbargripper_horizontal
scrollbargripper_vertical
scrollbarthumb_horizontal
scrollbarthumb_vertical
toolbarbutton
toolbargripper

Finally, both here and in all subsequent chapters, style selectors and class attributes defined for the ...

Get Rapid Application Development with Mozilla™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.