为什么GIF图片在火狐下不显示,而在IE7、谷歌、搜狗中却能正常显示呢?[加45分,问题已解决!]
GIF图片直接插入网页中,火狐能正确显示。但通过<a href="<%=(gg2.Fields.Item("zyurl3").Value)%>" target="_blank"><img src="<%=(gg2.Fields.Item("zypic3").Value)%>" width="470" height="80" border="0"></a>这种方式却什么也看不到,哪怕如IE中的红叉也没有!请问:如何通过此种方式在火狐中正确显示GIF图片呢?此网页全部代码如下:<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="../../../../Connections/pqtep.asp" -->
<%
Dim gg2
Dim gg2_numRows
Set gg2 = Server.CreateObject("ADODB.Recordset")
gg2.ActiveConnection = MM_pqtep_STRING
gg2.Source = "SELECT * FROM gggl2 ORDER BY id ASC"
gg2.CursorType = 0
gg2.CursorLocation = 2
gg2.LockType = 1
gg2.Open()
gg2_numRows = 0
%>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
<table width="470" height="80" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="middle"><a href="<%=(gg2.Fields.Item("zyurl3").Value)%>" target="_blank"><img src="<%=(gg2.Fields.Item("zypic3").Value)%>" width="470" height="80" border="0"></a></td>
</tr>
</table>
</body>
</html>
<%
gg2.Close()
Set gg2 = Nothing
%>
[ 本帖最后由 tepnidh 于 2010-7-22 22:53 编辑 ]