Has anyone spent several hours to get the UI of their application render correctly in all the browsers?

How do you tackle the frustration when simple styles tend to work in one browser but not others..and end of the day you invent the hack to handle it (in some cases that too does not happen), only after wasting your time?

I will wait for the day when all browsers can follow same standard, until then I (and others) can learn from few suggestions from people who do this frequently.