网站观看问题
在电脑上看自己的电脑上一切正常,用别人的电脑看出现重复,有些显示不出来(以自己电脑当服务器,在局域网里看的,为什么)<P> 你所说的“重复”不知道是什么意思?在别人的电脑访问显示不出来,我觉得会不会是你路径的设置问题吧,因为你用的是你电脑的本地路径,别人访问的时候路径可能会转到他电脑上面去了。具体没试过,呵,猜的!</P> 重复指代码多次重复出现(事实上我只写一次)路径方面我也修改为相对路径了,还是不行,有些代码变成乱码直接显示出来 <P>有时候我的电脑也会出现这种情况,在我电脑上能好好的预览,到了别人电脑上某些图片就显示不出来,或者布局一团糟</P> 没有碰到过,无语中...... 不大明白怎么重复`~~ 我也同意2楼的意见,还是路径的问题。楼主可以把出现问题的代码贴出来(只要能反应问题就行了,不用贴的过长)<BR>让大家帮你分析一下。 <P><br><FONT color=#f70909><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "</FONT><a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" target="_blank" ><FONT color=#f70909>http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</FONT></A><FONT color=#f70909>"><br><html xmlns="</FONT><a href="http://www.w3.org/1999/xhtml" target="_blank" ><FONT color=#f70909>http://www.w3.org/1999/xhtml</FONT></A><FONT color=#f70909>"><br><head><br><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><br><title>欢迎</title><br><style type="text/css"><br><!--<br>.STYLE1 {<br> font-family: "宋体";<br> font-size: 16px;<br> font-weight: bold;<br>}<br>.STYLE2 {<br> font-size: 16px;<br> font-weight: bold;<br>}<br>body {<br> background-color: #FFFFFF;<br>}<br>.STYLE25 {<br> font-size: 12px;<br> font-weight: bold;<br>}<br>.STYLE26 {font-size: 12px}<br>.STYLE27 {font-size: 12}<br>--><br></style><br><script language=vbscript><br>dim second<br>sub submit_onclick<br> set second= window.open("</FONT><a href="http://localhost/" target="_blank" ><FONT color=#f70909>http://localhost/</FONT></A><FONT color=#f70909>注册.asp") <br>end sub<br></script><br></head><br><body><br><table align=center width="992" height="1212" border="1" bordercolor="#0000FF"><br> <tr><br> <td height="125" colspan="3"><img src="images/52_01.jpg" width="1005" height="131" /></td><br> </tr><br> <tr><br> <form action="Default.asp" method="post"><br> <input type="hidden" name="action" value="Default"><br> <td width="236" height="162" rowspan="2"><p><span class="STYLE2"> </span></p><br> <p><span class="STYLE2"> &nbsp; 帐号:</span><br> <input name="UserCount" type="text" class="STYLE1" size="14" maxlength="24" /><br> </p><br> <p> <span class="STYLE1"> &nbsp; 密码:</span><br> <FONT color=#3352cc><input name="PasDrco括? ?0B汬TTP/1.1 200 OK <STRONG> <FONT color=#000000>(乱玛)</FONT></STRONG></FONT><br>Server: Microsoft-IIS/5.1<br>Date: Sat, 06 Oct 2007 02:49:53 GMT<br>Content-Length: 9388<br>Content-Type: text/html<br>Cache-control: private</FONT></P>
<P><br><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" target="_blank" >http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</A>"><br><html xmlns="<a href="http://www.w3.org/1999/xhtml" target="_blank" >http://www.w3.org/1999/xhtml</A>"><br><head><br><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><br><title>欢迎</title><br><style type="text/css"><br><!--<br>.STYLE1 {<br> font-family: "宋体";<br> font-size: 16px;<br> font-weight: bold;<br>}<br>.STYLE2 {<br> font-size: 16px;<br> font-weight: bold;<br>}<br>body {<br> background-color: #FFFFFF;<br>}<br>.STYLE25 {<br> font-size: 12px;<br> font-weight: bold;<br>}<br>.STYLE26 {font-size: 12px}<br>.STYLE27 {font-size: 12}<br>--><br></style><br><script language=vbscript><br>dim second<br>sub submit_onclick<br> set second= window.open("<a href="http://localhost/" target="_blank" >http://localhost/</A>注册.asp") <br>end sub<br></script><br>这是我用别人电脑看时的源文件..红色表示重复<br>而且刷新几次后显示的布局也不一样>>></P>
[align=right][color=#000066][此贴子已经被作者于2007-10-6 11:01:29编辑过][/color][/align]
另外我在网站里面有弄连接,但是连接的网址是用<a href="http://localhost/" target="_blank" >http://localhost/</A>......连接的,怎么把localhost改为自己的IP <P>有乱码的话,要不楼主你把编程方式改为 UTF-8 试下吧,会不会系统对编码的兼容性问题。<BR>将 <BR> <meta http-equiv="Content-Type" content="text/html; charset=<FONT color=#ff0066>gb2312</FONT>" /><BR>改为<BR><meta http-equiv="Content-Type" content="text/html; charset=<FONT color=#ff0066>UTF-8</FONT>" />试下。<BR><BR>至于那个 localhost ,我不清楚,呵呵<BR>要是试的话就先固定IP,然后,再把 localhost 改为你的IP,后面再是你的路径了,不过不能用中文路径吧!<BR>[em02][em02][em02],没试过,办公室找不到电脑做实验了,又是猜滴!</P> 把编程方式改为 UTF-8 后更不能显示,该回原来的方式字体却全部需要重新输入[em09] [em04]<BR>那俺就不知道怎么解决了!毕竟猜的不准,[em02]!<BR>你们电脑的系统都是一样的吧! <P>都是一样的,xp</P> <P>在网站里是用相对路径,最好不要使用绝对路径。</P> <P>改过了,还是不行,痛苦[em09]</P> <P>有没谁肯帮帮我啊[em08]</P>
页:
[1]
