I have a layout issue which is due to the containing page being rendered in compatibility mode on IE8. Is there a way to detect whats causing IE8 to enter compatibility mod
Check if you have any tags forcing IE into compatibility mode.
You can force it to render as IE8 (fully CSS 2.1 compliant) if you wish: