spacer
Yehuda Shiran September 13, 2000
Dos and Donts for Filters
Tips: September 2000

Yehuda Shiran, Ph.D.
Doc JavaScript

Developer News
Google Chrome Playing Catch-Up on Extensions
Open Solutions Alliance Gets New Leadership
Red Hat Spacewalk Expands Linux Management
The most important rule to remember about filters is that the object that the filter applies to must have layout for the filter effect to be seen. Some objects, like form controls, have layout by default. For other objects, you need to define their layout by specifying one of the following properties:

  • height
  • width
  • position: absolute
  • contentEditable: true

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:

  • The OBJECT, EMBED, and APPLET elements.
  • The SELECT and OPTION form elements.
  • The TABLE, TR, THEAD, TBODY, and TFOOT table elements.

Learn more about filters in Column 68, Introduction to Filters in IE 5.5 and Up.


People who read this tip also read these tips:

Look for similar tips by subject:

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

webref The latest from WebReference.com Browse >
Popular JavaScript Framework Libraries: An Overview - Part 3 · Accessing Your MySQL Database from the Web with PHP · Working with the DOM Stylesheets Collection
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
MS Access and MySQL · Cisco AutoQoS: VoIP QoS for Mere Mortals · While VoIP Adoption Explodes in Enterprise, Carrier Spending Lags