
The Complete Idiot's Style Sheets Reference
| Index
| Current Category: Behavior |
| Previous Style: background-repeat
| Next Style: border
|
behavior
Assigns a behavior to an element.
Support:
-
W3C Standard | Internet Explorer | Netscape Navigator |
Not supported |
5.0 and later |
Not supported |
Notes:
- A behavior is a script or object that extends the functionality of an element. It's stored in a separate file, so it's easy to reuse the behavior on other pages.
- See Microsoft's DHTML Behaviors page for an in-depth description of behaviors.
Possible Values:
- [default behavior]
The name of a default behavior supported by the browser.
-
Support:
-
W3C Standard | Internet Explorer | Netscape Navigator |
Not supported |
5.0 and later |
Not supported |
-
Notes:
- [object ID]
The object ID of a binary behavior.
-
Support:
-
W3C Standard | Internet Explorer | Netscape Navigator |
Not supported |
5.0 and later |
Not supported |
-
Notes:
- [url]
The file name or full URL of the behavior.
-
Support:
-
W3C Standard | Internet Explorer | Netscape Navigator |
Not supported |
5.0 and later |
Not supported |
-
Notes:
Example:
<UL STYLE="behavior: url(toggle.htc)">
| Index
| Current Category: Behavior |
| Previous Style: background-repeat
| Next Style: border
|
|