Avatar kerstin.vortmann asked

Bad value X-UA-Compatible for attribute http-equiv on element meta

Validation Output: 1 Error

Line 6, Column 62: Bad value X-UA-Compatible for attribute http-equiv on element meta.
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

can I add this to my root .htaccess file:

Header set X-UA-Compatible "IE=edge"

and delete this code from head ?

  • Joomla
  • Tasty

Edited

5 Answers

0

Avatar sascha Yootheme answered

The X-UA-Compatible meta tag is absolutely fine and there is no need to remove it or to be worried about it.

Please take a look in our documentation at The X-UA-Compatible meta tag for more information.

Edited

5

Avatar jobadoo answered

The solution is very simple and yootheme can include this easy in feature templates
just open /templates/YOUR TEMPLATE/warp/systems/joomla/layouts/head.php

and change from
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
to
<!--[if IE]>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<![endif]-->

1

Avatar kerstin.vortmann answered

and how ?

because I try delete code from

liberary/joomla/html/renderer/head.php

but without succes

0

Avatar david.henry Online answered

<!--[if IE]>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<![endif]-->

This works perfectly but be sure to copy the head.php file into your custom style.

David

0

Avatar john.kerr.54 answered

could you give explict instructions in this case of how to:
"but be sure to copy the head.php file into your custom style" ??
what file(s) get head.php moved to etc.

Know someone who can answer? Share a link to this question via email or twitter.