English 中文(简体)
CSS的背景图像在第一负荷中没有显示吗?
原标题:CSS background image does not display on first load?

The background concept in this html script: 不装载。 但是,如果这种形象首先在同一个浏览器上打开,将其转移到海滩上,那么背景形象就会正确展示。

传真:

<html>
      <head>
            <style type="text/css">
        body {
        font: normal normal 18px Arial, Tahoma, Helvetica, FreeSans, sans-serif;
        color: #000000;
        background: #000002 url(http://themes.googleusercontent.com/image?id=1nCEFJnjbEM1e6XClO-Dh7L-U6FJQuxivkV20FpXYmkNyRA0vQIZPfjuIp6hcROwwArvQ) no-repeat fixed top center;
        }
        </style>


      </head>
      <body>
      </body>
    </html>

这个问题可能会看上去三维,但至少复制了3个浏览器:IE、Grein、Kin:没有预载的形象,没有显示背景形象。 如果人人都能解决这一极其简单的问题,那将非常有益。

感谢。

问题回答

我认为,这个问题是没有内容的。

你的形象是1800x1713,视您的网络联系而定,可能需要一些时间才能下载。 你们注意到,一旦在你的浏览器中,它就做了一些细微的工作,如果它事实上是网络的话,那是有意义的。

Regarding the image itself, are you sure you have the rights to use it in the first place? The fact that you re pulling it out of the Google cache and that a reverse image search turns up quite a few results is not a good sign. Make sure you aren t violating the copyright of any images you do use on your site.





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!