html - Bootstrap 进度条不适用于 Panel Inside

标签 html css twitter-bootstrap

我正在尝试在进度条内添加面板,但是当我添加面板时,进度条不起作用/增加宽度。

http://getbootstrap.com/components/#progress http://getbootstrap.com/components/#panels

这是我尝试过的:

http://jsfiddle.net/fS2zq/

    <div class="progress progress-striped active" style="height:100px;border-style:solid;">
    <div class="panel panel-primary" style="width:15%;height:100px;">
        <div class="panel-heading">
             <h3 class="panel-title" style="text-align:center;">Division 10</h3>

        </div> <strong><div align="center">0 PTS</div></strong>

    </div>
    <div class="progress-bar progress-bar-danger" style="width: 50%"></div>
</div>

最佳答案

也许你想要这样的东西http://jsfiddle.net/fS2zq/1/

<div class="panel panel-primary" style="width:15%;height:100px;float:left">

关于html - Bootstrap 进度条不适用于 Panel Inside,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18106901/

相关文章:

html - 当我尝试使用 CSS 时我的页面出现错误

html - 如何对齐div中的复选框

html - 无法在带有文本的缩略图上添加边框

php - 创建从数据库获取数据的折线图

javascript - 如何从 window.selection() 获取文本样式?

html - 在 div 的开头设置文本

php - 显示外部表的前 4 列

html - 在 Bootstrap 中将导航栏向右移动

javascript - 在 js/jquery 中将 datetime-local 转换为 UTC 时间

html - 具有插入曲线和透明背景的 CSS 形状