The best thing to do is code using [W3C standards, then validate your code using the [URL="http://validator.w3.org/"]validator](http://www.w3.org/standards/), it'll cut down on alot of problems, trust me.
Using a css reset will help you "eliminate the discrepancies across browsers". [Eric Myers' reset is one of the best around and the one I personally use. Another good starting point for your design is the [URL="http://www.blueprintcss.org/"]blueprint](http://meyerweb.com/eric/tools/css/reset/) framework. It gives "you a solid foundation to build your project on top of, with an easy-to-use grid, sensible typography, useful plugins, and even a stylesheet for printing" (from the blueprint website).
Sometimes IE has issues with even the best-coded websites, in which case coders will have to use either a workaround, conditional comments or a hack. But these will cut down on a lot of problems out of the box, before you even start coding.
If you want we can take a look at your site and tell you what you need to do in order to get it looking good in IE.