css3 背景平铺

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
html {
background-attachment:fixed;
background-color:#f5f5f5;
background-image:-moz-linear-gradient(center top , #FFFFFF, #dddddd);
background-repeat:repeat-x;
color:#000000;
display:block;
height:100%;
margin:0;
padding:0;
-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff', EndColorStr='#c7c7c7')";
filter:"progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff', EndColorStr='#c7c7c7')";
}
/*html body {background:url('mhtml:http://www.yola.com/sites/yola.net/themes/yola_v2/css/ie7mhtml.php!bg_body') 0 0 repeat;}*/
body{
    background:url("data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%00%09%00%00%00%09%08%06%00%00%00%E0%91%06%10%00%00%00%19tEXtSoftware%00Adobe%20ImageReadyq%C9e%3C%00%00%00IIDATx%DA%84%D0%B1%0D%00A%08%03%C1M%DC%06%7D%D0%7F%25t%40%07%FCs%C1I%179%20%1B%ADd%A8*E%84%00e%A6%BA%5B3%F3%1C%0El%04%07N%C4%82%3F%82%03%1B%C1%81%8D%E0%C0Y%E7%C0E%EEW%9F%00%03%004%CD%A7b%EFb%20%10%00%00%00%00IEND%AEB%60%82") repeat scroll 0 0 transparent;
    margin:0;
    min-height:100%;
    padding:0;
    position:relative;
    top:0;
}

</style>

</head>

<body>
</body>
</html>

你可能感兴趣的:(html,c,XHTML,css,Adobe,scroll)