user956731
user956731

Reputation: 123

Not using Compatibility Mode

Could anyone tell me why this page isn't forcing the browser into Compatibility Mode?

I've added this to the HEAD:

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

Upvotes: 0

Views: 76

Answers (1)

Teemu
Teemu

Reputation: 23396

<!DOCTYPE> should be at the very first line of the file. X-UA-Compatible should be before any link or script or anything else, which possible could affect to the document mode. Also your X-UA-Compatible is malformed, it should be <meta http-equiv="X-UA-Compatible" content="IE=8" />. initpage() is not defined when body.onload fires.

Upvotes: 1

Related Questions