<a href="#dialog" name="modal">Simple Modal Window</a>
<div id="boxes">
this content should appear below the modal
<!-- #customize your modal window here -->
<div id="dialog" class="window">
<b>Testing of Modal Window</b> |
<!-- close button is defined as close class -->
<a href="#" class="close">Close it</a>
</div>
<br />
more contents here
<!-- Do not remove div#mask, because you'll need it to fill the whole screen -->
<div id="mask"></div>
</div>
LIVE: http://jsfiddle.net/ruwmh/
How can we ensure that the modal screen covers the entire display? It currently does not.