我试图让一个非常简单的 Bootstrap 示例运行,但它不能正确呈现跨度。无论页面大小如何,我都没有看到跨度内容呈现为列。在调试下,我看到了 css 和相关的 jquery (v 1.9) 和 bootstrap (v 3.0) 脚本。
<!DOCTYPE html> <html lang="en"> <head>
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="Content/bootstrap/bootstrap.css" rel="stylesheet" /> </head> <body>
<div class="container">
<div class="row">
<div class="span4">
<h2>Column one</h2>
<p>
Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum
nibh, ut fermentum massa justo sit amet risus. Etiam porta sem
malesuada magna mollis euismod. Donec sed odio dui.
</p>
</div>
<div class="span4">
<h2>Column one</h2>
<p>
Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum
nibh, ut fermentum massa justo sit amet risus. Etiam porta sem
malesuada magna mollis euismod. Donec sed odio dui.
</p>
</div>
<div class="span4">
<h2>Column one</h2>
<p>
Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum
nibh, ut fermentum massa justo sit amet risus. Etiam porta sem
malesuada magna mollis euismod. Donec sed odio dui.
</p>
</div>
</div>
</div>
<script src="Scripts/jquery-1.9.1.min.js"></script>
<script src="Scripts/bootstrap.min.js"></script> </body> </html>