Check the following:
- The X-UA-Compatible meta tag is before all other meta tags
- The X-UA-Compatible meta tag is before any conditional IE statements (<!--[if IE 7]>)
- Proper DOCTYPE declared (<!DOCTYPE html>) See this page for an explanation of how IE will use the DOCTYPE.
Check out the flowchart in this article at MS for a clear understanding of how IE determines the appropriate document mode.