日期:2014-05-17 浏览次数:20611 次
<body> <div id="bodybg"> <img src="imgbg.jpg" class="stretch" alt="" /> </div> ...... ...... </body>
#bodybg { width: 100%; height: 100%; position: absolute; left: 0px; top: 0px; z-index: 0; } .stretch { width:100%; height:100%; }