css - 如何删除 Bootstrap Horizo​​ntal 描述中 dt 和 dd 之间的空格

标签 css twitter-bootstrap

能否请您告诉我如何去除 bootstrap 水平描述中 dt 和 dd 之间的间隙/空格?

从下图中可以看出,dt 和 dd 之间有很大的空间(以黄色突出显示)

enter image description here

我尝试通过使用设置 dt 单元格值

.dl-horizontal dt {
 width:100px;
 }
.dl-horizontal dd {
 width:100px;
 }

但是这个属性只是改变了文本大小!并且单元格保持相同的大小和位置。

谢谢

最佳答案

这应该可以解决问题:

.dl-horizontal dd {
    margin-left: 120px;
}

关于css - 如何删除 Bootstrap Horizo​​ntal 描述中 dt 和 dd 之间的空格,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16973138/

相关文章:

CSS 过滤器 : blur(0px) still blurs the text

html - CSS 按钮动画变大

mobile - Twitter Bootstrap 弹出框/工具提示错误与移动设备?

twitter-bootstrap - 无法让徽章与导航栏中的链接对齐

html - 滚动条聚焦在 HTML div 的底部

html - 如何去除丑陋的表格单元格边框?

javascript - 通过页面滚动显示动画

javascript - 将 CSS 对象转换为样式标签

javascript - 将基础导航与 Bootstrap 合并

css - 在 Bootstrap 中对齐图标