tags:

views:

48

answers:

2

I don't really understand what it does, but it is set in my project to:

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

I want to force compatibility mode in IE8 off, cos people keep turning it on and it breaks stuff. It's software used on the intranet where everyone has IE8.

I read that I should put this in:

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

to force it off. However, should I replace the first line with this one, have both, or do something else entirely?

+1  A: 

Just put those two lines in the head, don't combine them.

You can have as many meta http-equiv tags as you want.

The sames goes for normal meta tags.

CodeJoust
A: 

put the X-UA-Compatible tag at the top of the head section of your document as it needs to be here. Content-type is telling the browser what the document content is and should be placed after t.

Matt Smith