Css 引导3跨多行的垂直对齐
我遇到了跨多行垂直对齐项目的需要。从字体列表中可以看出,可怕的图标并没有与下面的所有复选框对齐。如何将图标与复选框行对齐?表中有更多的列被删除以在此处过帐。在复选框上有左边距和右边距 HTML:Css 引导3跨多行的垂直对齐,css,html,twitter-bootstrap,Css,Html,Twitter Bootstrap,我遇到了跨多行垂直对齐项目的需要。从字体列表中可以看出,可怕的图标并没有与下面的所有复选框对齐。如何将图标与复选框行对齐?表中有更多的列被删除以在此处过帐。在复选框上有左边距和右边距 HTML: F轨迹 Инженерные системы window.jQuery | | document.write(“”) 尝试使用相同大小的图标。或者设置div.controls i{width:10px;} 你能编一把小提琴吗?我会把另一个答案标记为已接受的答案。我必须继续对页面的其余部分进行编码,这
F轨迹
Инженерные системы
window.jQuery | | document.write(“”)
尝试使用相同大小的图标。或者设置div.controls i{width:10px;}
你能编一把小提琴吗?我会把另一个答案标记为已接受的答案。我必须继续对页面的其余部分进行编码,这样就不能创建小提琴了。谢谢。现在看起来好多了!非常感谢。如果你不介意的话,请解释一下{width:10px;}改变了什么?它改变了嵌套在你的div类“controls”中的所有图标的宽度。@Münich。非常感谢。
<!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">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>F Trace</title>
<!-- Bootstrap core CSS -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet">
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<link href="../../assets/css/ie10-viewport-bug-workaround.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="style.css" rel="stylesheet">
<!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
<!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
<script src="../../assets/js/ie-emulation-modes-warning.js"></script>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<section id='top5'>
<div class='container tables'>
<div class='row'>
<div class='col-md-12 settings'>
<table class="table text-center custom-table">
<thead>
<tr>
<th width="12%"><div>Инженерные системы</div><div class='controls'><i class="fa fa-bolt"></i><i class="fa fa-tint"></i><i class="fa fa-lightbulb-o"></i><i class="fa fa-yelp"></i><i class="fa fa-sun-o"></i><i class="fa fa-cogs"></i></div></th>
</tr>
</thead>
<tbody>
<tr>
<td class="vert-align checkboxes"><input type='checkbox'></input><input type='checkbox'></input><input type='checkbox'></input><input type='checkbox'></input><input type='checkbox'></input><input type='checkbox'></input></td>
</tr>
<tr>
<td class="vert-align checkboxes"><input type='checkbox'></input><input type='checkbox'></input><input type='checkbox'></input><input type='checkbox'></input><input type='checkbox'></input><input type='checkbox'></input></td>
</tr>
<tr>
<td class="vert-align checkboxes"><input type='checkbox'></input><input type='checkbox'></input><input type='checkbox'></input><input type='checkbox'></input><input type='checkbox'></input><input type='checkbox'></input></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</section>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="../../assets/js/vendor/jquery.min.js"><\/script>')</script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
</body>
</html>