我在我的网站中添加了维护页面。在那个页面中,我只放了一张图片和信息。图像位于图像文件夹内。但是当站点处于维护模式时,图像不会显示在维护页面下。如果不在维护模式下,图像将显示在该页面中。我不知道如何解决它。图像未显示在维护页面
在我的网页,代码简单如下:
<!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>
<title>Under Maintenance</title>
</head>
<body style="text-align:center;vertical-align:middle;">
<div>
<img src="images/under_maintenance.gif" alt="Under Maintenance" />
<h2>This site is currently</h2>
<h1>UNDER MAINTENANCE</h1>
<h3>We will be back shortly</h3>
</div>
</body>
</html>
你的代码是完美的可能是问题是在你的图像或路径可以ü提供under_maintenance.gif? ... – Kamal 2012-04-09 07:28:55
是的,页面在维护模式下找不到图像路径。通常,其他页面的路径是正确的。 – mmdeveloper 2012-04-09 07:35:31
更改此src =“/ images/under_maintenance.gif”帮助吗? – Marcel 2012-04-09 07:42:24