behavior

Support Key: [IE5]
Other Dynamic
Content Properties

accelerator
cursor
filter
zoom
= Index DOT Css by Brian Wilson =
  Main Index | Property Index | CSS Support History | Browser History  



   Quick Statistics   
Default Value:
   NA
Applicable Elements:
All
Inherit From Parent:
No
Applicable Media:
Visual, Interactive
HTML Equivalent:
NA
Official Docs:
Microsoft MSDN Reference
What is it?
The Behavior property specifies one or more space separated URLs indicating script(s) to attach to a CSS selector. Behaviors allow the default functionality of a given element to be extended. Using simple CSS syntax that allows script to be separated from style and content, CSS behaviors offer a fairly elegant and efficient way to re-use script code.

Allowed Values
[Script URL]
[IE5]
Type: Explicit
Syntax: url([URL])
Description:
Provides an absolute or relative URL reference to the Behavior.
[#Object ID]
[IE5]
Type: Explicit
Syntax: url(#[Object ID])
Description:
The Behavior is a binary implementation. This syntax consists of a pound sign ("#") followed by an OBJECT element ID within the document that instantiates the binary implementation.
[Default Behavior]
[IE5]
Type: Explicit
Syntax: url(#default#[Behavior Name])
Description:
Quite a few default behaviors ship with Internet Explorer 5.0. This syntax allows each default behavior to be easily referenced.
Syntax
Selector { behavior: ([Script URL] | [#Object ID] | [Default Behavior]) ([Script URL] | [#Object ID] | [Default Behavior])* }
Example
Ext/Doc: blockquote { behavior: url(hilight.htc) url(#behaveBinObject) }
In-Line:  <blockquote STYLE="behavior: url(hilight.htc) url(#behaveBinObject)">To
be or not to be, that is the question</blockquote>
Browser Peculiarities

Boring Copyright Stuff....