Solving IE browser Compatibility issues

Every developer has been in this situation, after finishing the development of a site and  it is time–time for IE browser compatibility testing. After loading  the site in IE6/IE7/IE8 and everything looks out of position. Where do you start with IE Browser Compatibility? Most developers start making IE specific styles, some use JavaScript to detect the user’s browser,some uses css hacks etc.I am going to go through a few tips in trying to develop for IE Browser Compatibility