我需要这个结果:
left row1 right row1
left row2 only on half of width
left row3 only on half of width
我尝试这样: https://www.w3schools.com/code/tryit.asp?filename=GEAN1BSYLNA2
您能帮我个忙吗(左侧第3行只有一半的宽度)。我需要使用Bootstrap。 谢谢
答案 0 :(得分:0)
Public origval As Variant, origaddr As Variant
Public Sub Worksheet_SelectionChange(ByVal Target As Range)
origval = Target.Cells(1).Value
origaddr = Target.Cells(1).Address ' this is to handle multiple selection
Range(origaddr).Select ' reset multiple selection
End Sub
Public Sub Worksheet_Change(ByVal Target As Range)
' at this point
' - origval contains the original value
' - origaddr and Target.Address contains the cell address (should be the same)
' - Target.Value contains the new value of the cell
' - Target.Address contains the cell address
' - Target.Parent.Name contains the name of worksheet
' - Target.Parent.Parent.Name contains the name of workbook
' so you know everything you need and you can decide how to go on
End Sub
答案 1 :(得分:0)
<div class="container-fluid">
<div class="row">
<div class="col-6">left row1</div>
<div class="col-6">right row1</div>
<!-- Force next columns to break to new line -->
<div class="w-100"></div>
<div class="col-6">left row2 only on half of width</div>
<!-- Force next columns to break to new line -->
<div class="w-100"></div>
<div class="col-6">left row3 only on half of width</div>
</div>
</div>