On microsoft\'s site they claim that simple doctype declaration is enough. But even a document as short as this falls back to IE7 mode:
This works for me..