我无法摆脱引导行单元格的左边距。在我看来,如果左边有另一个元素,即使这个元素没有显示,一个元素也会显示它的左边距。阅读代码中的注释。
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="bootstrap/css/bootstrap.css" type="text/css">
<link rel="stylesheet" href="bootstrap/css/bootstrap-responsive.css" type="text/css">
</head>
<body>
<div class="container-fluid">
<div class="row-fluid">
<div class="span12 visible-tablet">Tablet</div>
<!-- These two elements never show together. One of them always
has "display: none." Because of the not displayed element above,
the left margin of the bottom element appears that screws up the
layout. If I delete the element above, everything is fine. -->
<div class="span12 visible-desktop">Desktop</div>
</div>
</div>
<script src="js/jquery.js"></script>
<script src="bootstrap/js/bootstrap.js"></script>
</body>
</html>