7.5. Style Options

As for static content and buttons, Mozilla duplicates much of the information about forms and menus in the style system.

Perhaps the most powerful style features are style rules that affect which XBL binding applies to which XUL tag. The type attribute (for <button>, <toolbarbutton>, and <textbox>) and the editable attribute (for <menulist>) are all specified in style rules. Those rules direct the basic XUL tag to a specific binding, which ultimately affects its content, appearance, and behavior. After you have learned XBL, it is possible to add more such bindings and style rules. The type attribute can then provide more widget variants.

7.5.1. CSS Styles from HTML Forms

Some standard HTML form styles are available for use ...

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.