节能环保产业发展趋势:救命!在Dreamweaver中编辑的代码为什么会这样?

来源:百度文库 编辑:查人人中国名人网 时间:2024/04/26 02:08:55
<table width="100%" border="0" cellspacing="0">
<tr>
<td class="navigation"><marquee direction="left">
<%If Session("username")<>"" Then%>
<span class="style1"><%=Session("username")%></span>ÄúºÃ£¡
<%End If%>
»¶Ó­µÇ½ÎÒÃǵÄÂÛ̳£¡
</marquee>
</td>
</tr>

<tr>
<td><img name="flash" src="" width="750" height="64" alt=""></td>
</tr>
<%If Session("username")<>"" Then%>
<tr>
<td class="menu"><a href="newtopic.asp">·¢Ìû×Ó</a> | <a href="user.asp?page=1">ËùÓÐÌû×Ó</a> | <a href="myinfo.asp">ÐÞ¸Ä×ÊÁÏ</a> | <a href="onlineuser.asp">ÔÚÏßÓû§</a> | <a href="mytopic.asp">ÎÒµÄÌû×Ó</a> | <a href="myreply.asp">ÎҵĻØÌû</a> | <a href="message.asp">¶ÌÏûÏ¢</a> | <a href="exit.asp">Í˳öµÇ½</a> </td>
</tr>
<%End If%>
</table>

在文件头加下面内容。之后重新编写你的代码。以后就不会这样了。
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
</head>

我也遇到这种事,可能是软件坏了吧,我重装了别个版本的后就可以用了.你下载这个Macromedia Dreamweaver 8 绿色版
的试试吧,这是地址http://www.crsky.com/soft/6604.html