ie8 支持html5和bootstrap

1.加下这段代码;这是支持ie8(含)下h5的,在web容器下会生效。

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->

    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->

    <!--[if lt IE 9]>

    <script src="../../assets/js/bootstrap/html5shiv.min.js"></script>

    <script src="../../assets/js/bootstrap/respond.min.js"></script>

    <![endif]-->

 

你可能感兴趣的:(bootstrap)