背景图片居中显示(HTML,CSS技巧)

12/19/2007来源:网页特效人气:37736

<!-- 把如下代码加入<head>区域中 -->
<STYLE TYPE="text/CSS">
<!--
BODY {background-image: URL(http://img.knowsky.com/img/knowskylogo.gif);
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;}
-->
</STYLE>