0
開創了引導MVC5這個應用....
我已經加入DIV:
<div class="divFullWidth" style="margin:10px 0px 0px -15px; height:150px;background-color:grey;">
<div class="wireframe_div">
<div class="Row">
<div class="Cell">
@Html.Label("Ext :")
</div>
</div>
<div class="Row">
<div class="Cell">
@Html.TextBox("txt_Ext", null, new { @class = "form-control" })
</div>
</div>
</div>
</div>
CSS:
.wireframe_div {
border: 1px solid black;
background-color: darkgrey;
padding: 15px 20px 25px 20px;
.Cell
{
display: table-cell;
padding-left: 5px;
padding-right: 5px;
}
.Row
{
display: table-row;
}
.divFullWidth {
float: left;
width: 100%;
}
但我不能完全像在屏幕截圖中一樣拆分div。
任何人都可以幫忙。我對網絡技術很陌生。
PLZ把整個你的HTML和CSS或的jsfiddle –