开发者

background images on page refresh do not display anymore

I have this test page in local environment:

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<link rel="stylesheet" type="text/css" href="mycss.css" />

</head>

<body background="australia_1500.jpg" bgproperties="fixed">

<img id="marker" src="marker.png">
<div class="head"></div>
<div class="content"></div>

</body>

And mycss.css:

.head{
  width:955px;
  height:90px;
  margin:auto;
  background-image:url('head_bg.png');
 }

.content {
  width:955px;
  height:1000px;
  margin:auto;
  background-image:url('pattern_bg.png') !important;
}

#marker{
 position:absolute;
 top:38px;
 left:105px;
}

The problem is that at page-refresh my images quite often don't display at all,most of the time they "switch-visibility" (if "head_bg.png" is correctly displayied and I refresh then this image disappears and in turn "pattern_bg.png" is displayied..and viceversa ) This happens in all of the browser i tried (IE8,chrome,firefox)..I tried with clearing cache,restart Apache server..but problem is still there.

Where Am I wrong??

UPDATED My Apache Log Error

PHP Warning:  PHP Startup: apc.shm_size now uses M/G suffixes, please update your ini files in Unknown on line 0

In my php.ini I have the following:

extension= c:\wamp\bin\php\php5.3.3\ext\php_apc_开发者_JAVA技巧316_php53_vc6.dll
apc.enabled=0
apc.stat=0
apc.optimization=9
apc.shm_size=30
;apc.max_file_size=2M
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜