The best thing to do is to use the proper doctype (usually HTML 4.01 strict) and to write clean code. (VALIDATE IT!!) It also helps to start your CSS out with a * {margin:0; padding: 0;} to nip any discrepancies caused by browser-related default settings, and if all fails, use conditional comments - there's an excellent tutorial here: IE Conditional Comments