
The Noupe site post an article about several JavaScript techniques that used for fixing common browsers bugs. Here's small excerpt from beginning of this article:
We advocate using CSS whenever possible, and we often successed. Modern browsers have very good support for CSS — it’s certainly good enough for you to use CSS to control layout and presentation. Sometimes however, certain page elements will appear differently in different browsers.
Source:Noupe.