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

Yehuda Shiran, Ph.D.
Doc JavaScript

Developer News
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs

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.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

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

webref The latest from WebReference.com Browse >
Building a Banking Application Home Page with OOP · Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enterprise 2.0: Social Networking in the Cloud · BroadSoft Marketplace Hastens Pace of Telephony Innovation · Review: HTC Hero for Sprint