My ModalBox (modal-fade in Boostrap) is appearing at the top of the page! Can I centralize it in Horizontal and Vertical using only CSS3 ?
If yes, what would be the right way?
Follow my Modal code.
<div class="container">
<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog"
aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<!-- Modal Header -->
<div class="modal-header">
<button type="button" class="close"
data-dismiss="modal">
<span aria-hidden="true">×</span>
<span class="sr-only">Close</span>
</button>
<h4 class="modal-title" id="myModalLabel">Comunicado Importante!</h4>
</div>
<!-- Modal Body -->
<div class="modal-body">
<h5>Preciso centralizar esse ModalBox, usando CSS3!</h5>
</div>
<!-- Modal Footer -->
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Fechar</button>
</div>
</div>
</div>
</div>
</div>