Reputation: 8360
I am using jqModal plugin. Does anybody know how to set it's height and width ?
Upvotes: 0
Views: 845
Reputation: 3
In the jqModal.css file you can find this code:
.jqmWindow {
display: none;
position: fixed;
top: 17%;
left: 50%;
margin-left: -300px;
width: 600px;
background-color: #FFF;
color: #333;
border: 4px solid #8d8d8b;
padding: 12px;
}
Replace the value of width with your needful value but make sure that you divide the value of your new width and that value will be your margin-left's value. ex: width : 800 , margin-left: -400px
Upvotes: 0
Reputation: 25493
Did you tried specifying height and width manually:
<div id="jqmd" class="jqmWindow" style="width: 400px; height: 260px"></div>
Hope this helps.
Upvotes: 0