IE5/Mac Band Pass (CSS) Filter
If the background color of this paragraph is green (a darker
green than this page's background) then the hack was applied.
Example Code
p.test {
background-color: #f66;
}
/* \*//*/
p.test {
background-color: #6f6;
}
/* */
List of browsers that apply this
- IE5.x/Mac
- Opera 5 (I don't know about versions 1 through 4.)
List of browsers that do not apply this
- IE4-8/Win
- Firefox
- NS6.0-7.2
- NS4.x
- Opera 6+
- Safari
- Konqueror 3
- iCab 3
- IE4/Mac
Notes
- As long as you escape all but the end comment tag(s) where you want to
resume allowing other browsers to see your code, you can put comments in
between where you start and stop hiding a block of CSS code from browsers
other than IE/Mac.
- I recommend you use *>html ("Star Child HTML") CSS Hack in conjunction with this hack to
be nice to Opera 5.
Related Links: