Error bootstrap responsive css disabled in chrome

ERROR: Bootstrap responsive CSS is disabled!
see http://getbootstrap.com/getting-started/#respond-file-proto

I don't understand why I am seeing this error? when i try to open my html file this message is displayed in chrome and after clicking ok then it displays the page. but every time I refresh the page it is a popup with a message above the mention of the url it says nothing about this issue

+3


source to share


1 answer


All official Bootstrap v3 HTML sample templates contain the following 3 lines:

<!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
<!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
<script src="../../assets/js/ie-emulation-modes-warning.js"></script>

      

These 2 scripts are present to avoid Bootstrap's spurious IE8 related bug reports. As the comment says, they should not be included when copying from templates .

The error message you are talking about is ie8-responsive-file-warning.js

script specific. <!--[if lt IE 9]>

IE's HTML conditional comment means this script should only be executed on IE <= 8.



Since you see it in Chrome, you presumably:

  • I ignored the warning not to copy these lines; and
  • Removed a condition <!--[if lt IE 9]>

    for any arbitrary reason.

The solution is to remove two <script>

from your webpage.

+3


source







All Articles