In order to prevent quirks mode in IE9 I need to add this lines at the very top of every HTML page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
Unfortunately typo3 moves the <meta http-equiv ...
line to the end of the header section, making it useless.
How can I tell tyop3 to place the meta tag entry immeditely after the header tag?
You can write the whole header by yourself, by adding disableAllHeaderCode = 1
to your typoscript or you can hack it by adding your meta tag directly to the head tag: page.headTag = <head><meta http-equiv="X-UA-Compatible" content="IE=edge" />
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With