Export (0) Print
Expand All

2.1.1.5 filter

Quirks Mode, IE7 Mode, IE8 Mode, and IE9 Mode (All Versions)

filter of type DOMString, read/write

Sets or retrieves the filter or collection of filters applied to the object. Delimit multiple values with commas (,). In Windows Internet Explorer 8, enclose the values in single quotation marks (') or double quotation marks (") when using -ms-filter.

filter

Value:

progid:<filterName>([param1, param2, ...])

Initial:

none

Applies to:

block-level elements, table elements, and inline blocks

Inherited:

no 

Percentages:

N/A

Media:

visual

Computed value:

As specified

Values have the following meanings:

filterName

Any filter listed in [MSDN-VisualFilters].

param

Parameter values as defined by the named filter.

An object must have layout for the filter to render. The hasLayout feature of quirks mode and IE7 mode is described in [MS-CSS21], Appendix C: hasLayout.

Show:
© 2016 Microsoft