Vip*_*wal 5 html format whitespace
我有一种情况,我想使用多个空格将 html 中的元素隔开。除了使用多个之外还有其他方法 吗?
HTML:
<td width="10%">
<a href=""><i class="glyphicon glyphicon-envelope"></i></a>View
<a href=""><i class="glyphicon glyphicon-link"></i></a>Append
<a href=""><i class="glyphicon glyphicon-trash"></i></a>Delete
</td>
Run Code Online (Sandbox Code Playgroud)
我自己想通了:这可以通过以下方式实现,具体取决于您想要多少空间:
- single space
  - thin space
  - en space(half the point size of the font)
  - em space(point size of the font)
Run Code Online (Sandbox Code Playgroud)
参考:http : //www.w3.org/MarkUp/html3/specialchars.html
这就是我所做的:
<td width="10%">
<a href=""><i class="glyphicon glyphicon-envelope"></i></a>View 
<a href=""><i class="glyphicon glyphicon-link"></i></a>Append 
<a href=""><i class="glyphicon glyphicon-trash"></i></a>Delete
</td>
Run Code Online (Sandbox Code Playgroud)
希望这会有所帮助。