I think if you use a modern javascript framework (i.e jQuery), and test regularly, it shouldn't be that difficult / time costly anymore to support IE7 and IE8.
In my experience jQuery abstracts away most of the incompatibilities.
In my experience jQuery abstracts away most of the incompatibilities.
Styling is the most obvious issue, but it's just the surface of the problem.