Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML1115: X-UA-Compatible META tag ('IE=9, IE=8, chrome=1') ignored because document mode is already finalized

I got such warning:

HTML1115: X-UA-Compatible META tag ('IE=9, IE=8, chrome=1') ignored because document mode is already finalized.

when I try to open my website at IE9. I have addthis script:

<script type="text/javascript" src="https://s7.addthis.com/js/250/addthis_widget.js#async=1"></script>

which adds google+ button

<a class="addthis_button_google_plusone" g:plusone:size="medium"></a>

When I comment this line - warning disappear. How I can fix this?

like image 305
Viacheslav Kondratiuk Avatar asked Jun 07 '12 13:06

Viacheslav Kondratiuk


1 Answers

The x-ua-compatible meta tag must come before all other elements that aren't meta or title.

Otherwise, I think the document mode is already decided and IE will ignore later attempts to cue it as to which doc mode to use.

like image 96
jinglesthula Avatar answered Nov 08 '22 21:11

jinglesthula