CSS Hack vs CSS Filter
I was in the midst of some late-night coding. Well, not really late-night I guess. Let me rephrase.
It was 10:30pm and I was just getting started with some nighttime coding. I was searching for something, and ended up reading a july 2003 evolt post. In it, PPK describes the difference between CSS Hacks and CSS Filters. I’ve read tons about each, but this is the first time that I really noticed their definitions.
- CSS Hacks
- Techniques and syntax that achieve desired results by exploiting a bug in a particular browsers rendering engine.
- CSS Filters
- Techniques and syntax that achieve desired results by exploiting a feature that a particular browsers rendering engine does not yet support.
Actually, ppk’s post quotes Craig Saila’s explanation of hack vs. filter.
Anyway, I’d hardly call one man’s interpretation a definition!