私はasp.netページに取り組んでおり、オーバーレイ(ポップアップ)として表示されるdivがあります。div の html は次のようになります。
<div class="darkenBg" id="popupBackground" style="display:none;"></div>
css は次のとおりです。
.darkenBg {background: url(/images/blackBg.png); position:absolute; z-index:30; width:100%; height:100%; bottom:0px;} /*added this div after body*/
しかし、ポップアップは全高に表示されません。ページの真ん中に移動します。ページ全体の高さにするにはどうすればよいですか。幅は問題ありません。
提案してください