Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/40.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css 背景图片被切成两半_Css_Image_Image Processing_Background_Background Image - Fatal编程技术网

Css 背景图片被切成两半

Css 背景图片被切成两半,css,image,image-processing,background,background-image,Css,Image,Image Processing,Background,Background Image,我有一个应用了以下代码的背景图像: #paint-bg{ background: url(../_img/contacto/paint.png) no-repeat center center fixed; width: 970px; height: 670px; display:block; } 没什么特别的。和我的html一样: <?php include('header.php'); ?> <body class="bg">

我有一个应用了以下代码的背景图像:

#paint-bg{
    background: url(../_img/contacto/paint.png) no-repeat center center fixed;
    width: 970px;
    height: 670px;
    display:block;
}
没什么特别的。和我的html一样:

<?php include('header.php'); ?>
    <body class="bg">
        <?php include('nav.php'); ?>
        <div id="wrapper">
                <div id="paint-bg">
                    <section class="contacto">
                        <h2>Contacto</h2>
                        <p class="p1">c/ Manuel Pombo Angulo nº 18 ,planta 1ª 16</p>
                        <p class="p2">28055 Madrid</p>
                        <p class="p3">+34 629 413 049</p>
                        <p class="p4"><a href="mailto:info@rosasusaeta.com">info@rosasusaeta.com</a></p>
                    </section>
                </div>
        </div>
<?php include('footer.php'); ?>

联系人

c/Manuel Pombo Angulo 18号足底1ª16

28055马德里

+34 629 413 049

没什么特别的。但当有人访问此网页时,他们会看到图像从左侧剪成两半。我玩过不同的参数,但因为太简单了,我不知道怎么了。。。请让我知道如何遵循

在这里你有网站的链接,所以你可以看到它自己


我想你已经修好了?因为它看起来很好对我来说也很好?我在Firefox 19上,我可以看到整个图像(在现场网站上)在Chrome或FF中无法复制。我看到背景的底部被切断了。当我从背景css中删除“fixed”时,它发生了变化并适合。