This is my base HTML for the Twitter's Bootstrap modal:
<div id="editModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="modalLabel" aria-hidden="true">
<form class="form-horizontal updater" data-type="undefined" data-id="undefined">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="modalLabel">Edit Content</h3>
</div>
<div class="modal-body"></div>
<div class="modal-footer">
<button type="submit" class="btn btn-primary">
<strong>Save Changes</strong>
</button>
<button class="btn" data-dismiss="modal" aria-hidden="true">Cancel</button>
</div>
</form>
</div>
As my Firebug says, the modal
class has: z-index: 1050
. I was trying to add an element like this:
<div class="width: 1000px height: 200px; background: #f00; z-index: 9999;">hi there</div>
Into the:
<div class="modal-body"></div>
But it doesn't work.
So, how can I set an element over all these Bootstrap components?