How to avoid ie8 compatibility button?

Short answer:

Put this in your head tag to tell the browser that your page works in IE 8:

<meta http-equiv="X-UA-Compatible" content="IE=8" />

Also as per Jon Hadleys comment, to ensure the latest (not just IE8) rendering engine is used, you could use the following:

<meta http-equiv="X-UA-Compatible" content="IE=edge">

Leave a Comment