我用的 Dreamweaver MX 2004 做网页,兼容性选择的 Mozilla 1.0,Netscape 7,IE 6 和 Safari 1.0
在检测网页时,Dreamweaver 报错
“background 标签的 TD 属性不被支持。 Mozilla 1.0, Netscape Navigator 7.0, Safari 1.0”
但是浏览时各种浏览器显示都正常,请教这个该怎么改呢??
错误代码
<td valign="bottom" background="../carl/index_image/top_mid_back.gif">
网页代码
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<!-- TemplateBeginEditable name="doctitle" -->
<title>CARL SHOWTIME</title>
<!-- TemplateEndEditable --><!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<link href="../carl/carl_01.css" rel="stylesheet" type="text/css">
</head>
<body onLoad="MM_preloadImages('../carl/index_image/bu_index_down.gif','../carl/index_image/bu_news_down.gif','../carl/index_image/bu_profile_down.gif','../carl/index_image/bu_gallery_down.gif','../carl/index_image/bu_filmography_down.gif','../carl/index_image/bu_video_down.gif','../carl/index_image/bu_special_down.gif','../carl/index_image/bu_info_down.gif')">
<table width="936" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="32">&</td>
<td width="29">&</td>
<td width="206">&</td>
<td width="432">&</td>
<td width="51">&</td>
<td width="152">&</td>
<td width="24">&</td>
<td width="10">&</td>
</tr>
<tr>
<td>&</td>
<td><img src="../carl/index_image/top_logo_1.gif" width="29" height="96"></td>
<td><img src="../carl/index_image/top_logo_2.gif" width="206" height="96"></td>
<td valign="bottom" background="../carl/index_image/top_mid_back.gif"><div align="right"><img src="../carl/index_image/carl_logo_1.gif" width="396" height="91"></div></td>
<td valign="bottom" background="../carl/index_image/top_mid_back.gif"><div align="center"><img src="../carl/index_image/carl_logo_2.gif" width="51" height="91"></div></td>
<td valign="bottom" background="../carl/index_image/top_mid_back.gif"><div align="left"><img src="../carl/index_image/carl_logo_3.gif" width="146" height="91"></div></td>
<td><img src="../carl/index_image/top_right.gif" width="24" height="96"></td>
<td>&</td>
</tr>
<tr>
<td>&</td>
<td><img src="../carl/index_image/hengfu_left.gif" width="29" height="30"></td>
<td colspan="4" background="../carl/index_image/hengfu_mid_back.gif"><a href="../carl/index.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('index','','../carl/index_image/bu_index_down.gif',1)"><img src="../carl/index_image/bu_index_up.gif" name="index" width="105" height="28" border="0"></a><a href="../carl/news/index.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('news','','../carl/index_image/bu_news_down.gif',1)"><img src="../carl/index_image/bu_news_up.gif" name="news" width="105" height="28" border="0"></a><a href="../carl/profile/index.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('profile','','../carl/index_image/bu_profile_down.gif',1)"><img src="../carl/index_image/bu_profile_up.gif" name="profile" width="105" height="28" border="0"></a><a href="../carl/gallery/index.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('gallery','','../carl/index_image/bu_gallery_down.gif',1)"><img src="../carl/index_image/bu_gallery_up.gif" name="gallery" width="105" height="28" border="0"></a><a href="../carl/filmography/index.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image15','','../carl/index_image/bu_filmography_down.gif',1)"><img src="../carl/index_image/bu_filmography_up.gif" name="Image15" width="105" height="28" border="0"></a><a href="../carl/video/index.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('video','','../carl/index_image/bu_video_down.gif',1)"><img src="../carl/index_image/bu_video_up.gif" name="video" width="105" height="28" border="0"></a><a href="../carl/special/index.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('special','','../carl/index_image/bu_special_down.gif',1)"><img src="../carl/index_image/bu_special_up.gif" name="special" width="105" height="28" border="0"></a><a href="../carl/info/index.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('info','','../carl/index_image/bu_info_down.gif',1)"><img src="../carl/index_image/bu_info_up.gif" name="info" width="105" height="28" border="0"></a></td>
<td><img src="../carl/index_image/hengfu_right.gif" width="24" height="30"></td>
<td>&</td>
</tr>
<tr>
<td height="38">&</td>
<td background="../carl/index_image/edit_01_left_back.gif">&</td>
<td colspan="2" background="../carl/index_image/edit_01_mid_back.gif" class="title_01"><!-- TemplateBeginEditable name="Title_01" --><!-- TemplateEndEditable --></td>
<td><img src="../carl/index_image/edit_01_right.gif" width="51" height="38"></td>
<td background="../carl/index_image/edit_01_mid_back.gif">&</td>
<td background="../carl/index_image/right_back.gif">&</td>
<td>&</td>
</tr>
<tr>
<td>&</td>
<td background="../carl/index_image/edit_01_left_back.gif">&</td>
<td colspan="2" background="../carl/index_image/edit_01_mid_back.gif">&</td>
<td><img src="../carl/index_image/edit_02_top_left.gif" width="51" height="23"></td>
<td background="../carl/index_image/edit_02_top_mid_back.gif" class="title_02"><!-- TemplateBeginEditable name="Title_02" --><!-- TemplateEndEditable --></td>
<td><img src="../carl/index_image/edit_02_top_right.gif" width="24" height="23"></td>
<td>&</td>
</tr>
<tr>
<td height="29">&</td>
<td background="../carl/index_image/edit_01_left_back.gif">&</td>
<td colspan="2" background="../carl/index_image/edit_01_mid_back.gif" class="edit_01"><!-- TemplateBeginEditable name="Edit_01" --><!-- TemplateEndEditable --></td>
<td background="../carl/index_image/edit_02_left_back.gif">&</td>
<td align="left" valign="top" background="../carl/index_image/edit_02_mid_back.gif" class="edit_02"><!-- TemplateBeginEditable name="Edit_02" --><!-- TemplateEndEditable --></td>
<td background="../carl/index_image/edit_02_right_back.gif">&</td>
<td>&</td>
</tr>
<tr>
<td height="22">&</td>
<td background="../carl/index_image/edit_01_left_back.gif">&</td>
<td colspan="2" background="../carl/index_image/edit_01_mid_back.gif">&</td>
<td background="../carl/index_image/edit_02_left_back.gif">&</td>
<td background="../carl/index_image/edit_02_mid_back.gif">&</td>
<td background="../carl/index_image/edit_02_right_back.gif">&</td>
<td>&</td>
</tr>
<tr>
<td>&</td>
<td><img src="../carl/index_image/down_left.gif" width="29" height="35"></td>
<td colspan="4" background="../carl/index_image/down_mid_back.gif"><div align="center" class="copyright">
<div align="center" class="style12">Copyright 2004 - 2005 dinGee Media. All rights reserved</div>
</div></td>
<td><img src="../carl/index_image/down_right.gif" width="24" height="35"></td>
<td>&</td>
</tr>
<tr>
<td>&</td>
<td>&</td>
<td>&</td>
<td>&</td>
<td>&</td>
<td>&</td>
<td>&</td>
<td>&</td>
</tr>
</table>
</body>
</html>