Wordpress Stylesheet before <!DOCTYPE html> in admin pages causing IE Quirks mode?

2.1k Views Asked by At

I have a blog where the front end works fine in all major browsers (ie7+). Unfortunately the back end doesn't work n IE8, as the browser is put into 'Quirks mode'. The vast majority of my contributors will be using IE8, so it has to work on IE8. I think IE is activating Quirks mode due to the stylesheet being called before the doctype declaration.

I have another blog which does work in IE8 as well (no Quirks mode), and the only difference I can tell in the source code is the declaration of a stylesheet before the doctype.

I was wondering if anyone knew why this is happening, or if anyone knows how to change the header of the back end/admin of wordpress so I can move/delete the stylesheet declaration.

Thanks,

Simon

1

There are 1 best solutions below

0
On BEST ANSWER

The problem was caused by a plugin called WP Mailto Links (freelancephp.net/en/wp-mailto-links-plugin-2). I disabled all the plugins and went through them one by one and by a process of elimination I managed to identify the cause of the problem and disable to plugin.