Html 为什么可以';我不能将图像拉伸到页面的全屏吗?

Html 为什么可以';我不能将图像拉伸到页面的全屏吗?,html,css,Html,Css,我制作了一个网站,并决定制作背景,编写了代码,查看该网站的页面时意识到,图片并不在整个页面上 我需要修复什么才能使图像延伸到整个页面 <html> <head> <title>text</title> <style> body{ background: url(back.jpg) no-repeat; -m

我制作了一个网站,并决定制作背景,编写了代码,查看该网站的页面时意识到,图片并不在整个页面上

我需要修复什么才能使图像延伸到整个页面

<html>
    <head>
      <title>text</title>
        <style>
            body{
                  background: url(back.jpg) no-repeat;
                  -moz-background-size: 100%
                  -webkit-background-size: 100%
                  -o-background-size: 100%
                  background-size: 100%
                }
        </style>
    </head>
    <body style="background-attachment:fixed" topmargin="0">
    </body>
</html>

文本
身体{
背景:url(back.jpg)不重复;
-moz背景大小:100%
-webkit背景大小:100%
-o型背景尺寸:100%
背景尺寸:100%
}

尝试使用
背景尺寸:封面而不是100%


它调整背景图像的大小以覆盖整个容器,即使它必须拉伸图像或从其中一个边缘切下一点

所需的背景大小:覆盖@AbuSayed博士(谢谢)