- <!DOCTYPE html>
- <html>
- <head>
- <title>Bootstrap</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Bootstrap -->
- <link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
- <!-- 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>
- <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
- <![endif]-->
- </head>
- <body>
- <div class="container">
- <h1>Hello, world!</h1>
- <div class="row">
- <div class="col-xs-4">
- <h2 class="page-header">区域一</h2>
- <p>Bootstrap has a few easy ways to quickly get started, each one appealing to a different skill level and use case. Read through to see what suits your particular needs.</p>
- </div>
- <div class="col-xs-4">
- <h2 class="page-header">区域二</h2>
- <p>If you work with Bootstrap's uncompiled source code, you need to compile the LESS files to produce usable CSS files. For compiling LESS files into CSS, we only officially support Recess, which is Twitter's CSS hinter based on less.js.</p>
- </div>
- <div class="col-xs-4">
- <h2 class="page-header">区域三</h2>
- <p>Within the download you'll find the following directories and files, logically grouping common resources and providing both compiled and minified variations.</p>
- </div>
- </div>
- </div>
- <script src="js/jquery-2.0.3.min.js"></script>
- <script src="js/bootstrap.min.js"></script>
- </body>
- </html>
复制代码
这个例子在360极速浏览器中能好使,但是怎么用IE浏览器打开就显示不了div的排版格式呢?
|
|