我附有我是怎么想的个人资料信息的列表中设置了在这个特殊方式的图像:http://i.stack.imgur.com/kALXa.jpg正确的方法来定义bootstrap3此配置文件信息
这个列表是假设抓住从数据数据库,并将信息放置在附加图像中标签的右侧。
我想到做一个定义列表,所以dt是标签,而dd是来自数据库的信息,但这在使用定义列表时可能在语义上不正确?
我难以理解这些信息应该是什么样子,或者正确的方式应该是什么?
我添加了一些代码,想到了一个描述列表,但代码没有真正正常工作:/和定义列表可能不是要走的路?
<!DOCTYPE html>
<head>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-md-8 center-block">
<dl class="dl-horizontal">
<dt>heading</dt>
<dd>
<button class="btn btn-default"></button>
</dd>
<dt>another heading</dt>
<dd>
<button class="btn btn-default"></button>
</dd>
<dt>another heading</dt>
<dd>
<button class="btn btn-default"></button>
</dd>
<dt>another heading</dt>
<dd>
<button class="btn btn-default"></button>
</dd>
<dt>another heading</dt>
<dd>
<button class="btn btn-default"></button>
</dd>
</dl>
</div>
</div>
</div>
</body>
</html>
谢谢,Anureg :) – Krys
如何使此响应? – Krys