3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

IE8でデバッグしようとするとIE7の互換表示モードで表示されてしまう罠の回避方法

Last updated at Posted at 2013-11-11

なぜIE8なのに、ブラウザモードがIE7で既定されているのか、よくわかりません。
設定方法あるのかもしれませんが、IEをいじる気にはなりません。(・ω<)

HTML
<!doctype html>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=8">
    ...
    <link media="all" href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet">
</head>

meta要素の先頭に入れましょう。だそうです。
http://msdn.microsoft.com/ja-jp/library/cc817574.aspx

関係ないですけど
meta ってタイプすると十中八九で meat になっちゃいますよね~。

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?