I'm new in web. This is my bootstrap modal window:
我是网络新手。这是我的bootstrap模态窗口:
<div id="dialog" class="modal fade">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">Message</h4>
</div>
<div class="modal-body">
<p>@Html.TextArea("commentForDecline")</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button title="Ok" class="btn btn-primary ok-request">Save changes</button>
</div>
</div>
</div>
</div>
This is a picture: How I can change some parameters of this window? I need to put buttons to the left side of the window (under the text area).
这是一张图片:如何更改此窗口的某些参数?我需要将按钮放在窗口的左侧(文本区域下方)。
1 个解决方案
#1
This CSS will left align the buttons for you:
这个CSS将为您保持对齐按钮:
.modal-footer{
text-align:left;
}
#1
This CSS will left align the buttons for you:
这个CSS将为您保持对齐按钮:
.modal-footer{
text-align:left;
}