How to make Bootstrap work in IE7

0

is there any way to make Bootstrap compatible with IE ,
in documentation talks about Respond.js but did not work,
follow example link

<!doctype html>


<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script><scripttype="text/javascript" src="https://netdna.bootstrapcdn.com/bootstrap/3.0.1/js/bootstrap.min.js"></script><linkrel="stylesheet" href="https://djyhxgczejc94.cloudfront.net/frameworks/bootstrap/3.0.0/themes/white-plum/bootstrap.min.css"> 
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/font-awesome/4.0.0/css/font-awesome.css">

< / script >   < / script >   < / script >




About us                               - col-md-4 -                                            - col-md-4 -                                            - col-md-4 -             

    <div class="row">   
        <div class="col-md-6">
            <div class="well"> - col-md-6 - </div>
        </div>
        <div class="col-md-6">
            <div class="well"> - col-md-6 - </div>
        </div>

    </div>    

This behaves like this in chrome : andsoonIE7:

    
asked by anonymous 21.03.2014 / 21:55

2 answers

3

Bootstrap for Internet Explorer 8+ support

  

Internet Explorer 8 and 9 are also supported, however, please be aware   that some CSS3 properties and HTML5 elements are not fully supported   by these browsers. In addition, Internet Explorer 8 requires the use   of Respond.js to enable media query support.

Some features are not supported, such as "border-radius" ... etc (If you have questions about what you can or can not use ..and where: link )

The "basic" Bootstrap template is: ( link )

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Bootstrap 101 Template</title>

    <!-- Bootstrap -->
    <link href="css/bootstrap.min.css" rel="stylesheet">

    <!-- HTML5 Shim and Respond.js 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="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script><scriptsrc="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  <body>
    <h1>Hello, world!</h1>

    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script><!--Includeallcompiledplugins(below),orincludeindividualfilesasneeded--><scriptsrc="js/bootstrap.min.js"></script>
  </body>
</html>
    
21.03.2014 / 22:03
0

I had a problem a while back with Bootstrap and IE. That was resolved as follows:

<!-- Just for debugging purposes. Don't actually copy this line! -->
<!--[if lt IE 9]><script src="js/ie8-responsive-file-warning.js"></script>
<![endif]-->

<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script><scriptsrc="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->

Putting this inside solved my problem. It ended up losing the columns and some settings like for example HTML5 tags.

    
21.03.2014 / 22:02