home / experts / javascript / column68 |
|
Multiple Filter DefinitionLet's apply now the
Notice the space between the two filter specifications (but no spaces between
You can clearly see that the filter order does matter. The most important rule to remember is that the object that the filter applies to must have layout for the filter effect to be seen. An object is said to have layout when one of the following properties are defined for it:
Some objects, like form controls, have layout by default. Another rule to follow is that when you nest an object inside another object, make sure the outermost object is positioned as absolute. Filters are ignored for any positioned objects nested inside nonpositioned objects, such as positioned SPAN inside nonpositioned DIV. Filters are ignored for the following objects:
Next: How to script filters |
Produced by Yehuda Shiran and Tomer Shiran
All Rights Reserved. Legal Notices.
Created: September 11, 2000
Revised: September 11, 2000
URL: http://www.webreference.com/js/column68/3.html