所以我想讓這個管理頁面響應,當我調整頁面時有一些問題。我希望庫存中的div與3個按鈕對齊。按鈕不與div對齊
這是我的容器調整視時需要適當調整。
.reports{
\t border: 1px solid red;
\t overflow-y: scroll;
\t /*overflow-x: hidden; */
\t height: 100%;
}
.row{
\t height: 4.5em;
\t width: 100%;
\t margin-left: 0;
}
.actions{
\t float: right;
\t width: 30%;
}
.entry-group{
\t border: 1px solid red;
\t float: left;
\t width: 70%;
}
.title{
\t border: 1px solid red;
\t float: right;
\t width: 72.5%;
\t height: 3.7em;
\t word-wrap: break-word;
\t margin-left: 2em;
}
<div class="reports">
\t <div class="list-group-item row">
\t \t <div class="entry-group">
\t \t \t <button class="btn btn-primary date" >2016-09-19</button>
\t \t \t \t \t \t \t \t \t \t
\t \t \t <div class="title">
\t \t \t \t <h4 class="list-group-item-heading">2080136 - Inventory</h4>
\t \t \t \t <p class="list-group-item-text">2 Napier Court West Southend On Sea SS1 1JU</p>
\t \t \t </div>
\t \t </div>
\t \t \t \t \t \t \t \t
\t \t <div class="actions">
\t \t \t <button class="btn btn-primary download">Download</button>
\t \t \t <button class="btn btn-primary edit">Edit</button>
\t \t </div>
\t </div>
</div>
是屏幕捕捉您的當前或預期的輸出? –
你將需要提供更多的代碼,包括CSS和父元素 –
@TimBiegeleisen我目前的輸出 –