1/1页1 跳转到查看:1057
发新话题 回复该主题

我的页子在电脑中能正常显示,为何上传到服务器以后只显示背景图片而不能显示页面内容呢?

我的页子在电脑中能正常显示,为何上传到服务器以后只显示背景图片而不能显示页面内容呢?

急急急……?!


我的页子在电脑中能正常显示,为何上传到服务器以后只显示背景图片而不能显示页面内容呢?

http://ww178.814e.com/index.html

TOP

 

回复:我的页子在电脑中能正常显示,为何上传到服务器以后只显示背景图片而不能显示页面内容呢?

您好,您的通行证是?
您上传的是什么内容呢?

TOP

 

回复:我的页子在电脑中能正常显示,为何上传到服务器以后只显示背景图片而不能显示页面内容呢?

我帮你看看。

TOP

 

回复: 我的页子在电脑中能正常显示,为何上传到服务器以后只显示背景图片而不能显示页面内容呢?

他的网页应该是这样的:
 附件: 您所在的用户组无法下载或查看附件
可是在IE中却无法显示:
 附件: 您所在的用户组无法下载或查看附件
这个我也不知道,这是他的网页代码:
<head>
<meta http-equiv="Content-Type" c />
<title>☆☆清风太阳雨☆☆ww178.814e.com☆☆</title>
<style type="text/css">
<!--
body {
background-image: url(bg_grad.jpg);
}
.STYLE4 {font-size: 18px}
.STYLE6 {
font-size: 16px;
font-weight: bold;
}
.STYLE8 {font-size: 16px}
-->
</style>
<script 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.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
}
//-->
</script><style type="text/css">
   <!--
   a:link { text-decoration: none;color: blue}
   a:active { text-decoration:blink}
   a:hover { text-decoration:underline;color: red}
   a:visited { text-decoration: none;color: green}
   -->
   .STYLE9 {font-size: 14px}
.STYLE9 {font-size: 12px}
</style>
</head>
<body>
<table width="800" height="85" border="0" align="center">
  <tr>
    <td width="794" height="85" background="glbnav_background.gif"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="800" height="90">
      <param name="movie" value="1212.swf">
      <param name="quality" value="high">
      <embed src="1212.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="800" height="90"></embed>
    </object></td>
  </tr>
</table>
<table width="799" height="42" border="0" align="center" bordercolor="#669900" bgcolor="#FFCC66">
  <tr>
    <td><table width="500" height="30" border="0" align="left">
      <tr>
        <td><a href="#" class="STYLE4">首页</a></td>
        <td><a href="#" class="STYLE4">清风语丝</a></td>
        <td><a href="#" class="STYLE4">清风图片</a></td>
        <td><a href="#" class="STYLE4">清风教育</a></td>
        <td><a href="#" class="STYLE4">清风课件</a></td>
        <td><a href="#" class="STYLE4">给我留言</a></td>
      </tr>
    </table></td>
  </tr>
</table>
<br>
<table width="799" height="288" border="4" align="center" bordercolor="#FF9933" bgcolor="#FFFFFF">
  <tr>
    <td width="787" height="284"><table width="785" height="270" border="2" align="center" bordercolor="#FFCCCC">
      <tr>
        <td width="175" height="266"><table width="184" height="261" border="0" align="center">
          <tr>
            <td width="178" height="32" background="ltitle_2.gif"></td>
          </tr>
          <tr>
            <td height="189" background="bg_right_frame.gif"><marquee scrollAmount=1 width=155 height=160 direction=up>
            ·网站紧张建设ing.<br>
            ·许多页子和链接未做,实在不好意思<br>
·谢谢您的关注!特别谢谢铭瑶网!
<p>·<a href=http://369977176.qzone.qq.com/>清风太阳雨</a>
            </marquee></td>
          </tr>
          <tr>
            <td height="32" background="ltitle_3.gif"><a href="http://ww178.814e.com/index.html"><img src="touming-1.gif" width="176" height="29" border="0" align="middle"></a></td>
          </tr>
        </table></td>
        <td width="405">
          <table width="405" height="276" border="0">
            <tr>
              <td width="225"><span class="STYLE6">文章导读:</span>(原创)</td>
              <td width="170" align="left" valign="middle"><span class="STYLE6">胜斌的作文:</span>(原创)</td>
            </tr>
            <tr>
              <td>·小学综合科组计划</td>
              <td>·西游记后传</td>
            </tr>
            <tr>
              <td>·小学综合科组总结</td>
              <td>·我爱我的家乡</td>
            </tr>
            <tr>
              <td>·小学语文教研计划</td>
              <td>·死对头三人组</td>
            </tr>
            <tr>
              <td>·小学语文教研总结</td>
              <td>·雷神的传说</td>
            </tr>
            <tr>
              <td>·个人教学工作总结</td>
              <td>·太阳嫁女</td>
            </tr>
            <tr>
              <td>·也谈小学生数感的培养</td>
              <td>·牙刷家族之愿望星</td>
            </tr>
            <tr>
              <td height="38">·数学教学小规律大文章</td>
              <td>·超越别人的心情</td>
            </tr>
          </table></td>
        <td width="181" background="bgyellow.gif"><table width="177" height="278" border="0">
          <tr>
            <td align="center" bgcolor="#99FFCC"><span class="STYLE8"><strong>感情晴雨表:</strong></span></td>
          </tr>
          <tr>
            <td>一切为了学生,做一个不对学生发火的老师。</td>
          </tr>
          <tr>
            <td> </td>
          </tr>
          <tr>
            <td>陪陪孩子,家长每天只需要几分钟。</td>
          </tr>
          <tr>
            <td> </td>
          </tr>
          <tr>
            <td>过计算关,训练须少而精,并持之以恒。</td>
          </tr>
          <tr>
            <td background="bj2.gif"> </td>
          </tr>
          <tr>
            <td> </td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
  <br>
  <table width="800" height="466" border="4" align="center" cellspacing="0" bordercolor="#FF9933">
  <tr>
    <td width="782" height="458" bordercolor="4" background="line.gif" bgcolor="#FFFFFF"><table width="788" border="2" cellspacing="0" bordercolor="#FF99FF">
      <tr>
        <td width="175" height="436" background="bgyellow.gif"><table width="160" height="346" border="0">
          <tr>
  <td width="159" height="184"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="169" height="182" align="top">
              <param name="movie" value="shizhong(QQ369977476).swf">
              <param name="quality" value="high">
              <embed src="shizhong(QQ369977476).swf" width="169" height="182" align="top" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
            </object></td>
          </tr>
    <tr>
    <td><Script LANGUAGE="JavaScript">
var months = new Array("一", "二", "三","四", "五", "六", "七", "八", "九","十", "十一", "十二");
var daysInMonth = new Array(31, 28, 31, 30, 31, 30, 31, 31,30, 31, 30, 31);
var days = new Array("日","一", "二", "三","四", "五", "六");
var classTemp;
var today=new getToday();
var year=today.year;
var month=today.month;
var newCal;
function getDays(month, year) {
  if (1 == month) return ((0 == year % 4) && (0 != (year % 100))) ||(0 == year % 400) ? 29 : 28;
  else return daysInMonth[month];
}
function getToday() {
  this.now = new Date();
  this.year = this.now.getFullYear();
  this.month = this.now.getMonth();
  this.day = this.now.getDate();
}
function Calendar() {
  newCal = new Date(year,month,1);
  today = new getToday(); 
  var day = -1;
  var startDay = newCal.getDay();
  var endDay=getDays(newCal.getMonth(), newCal.getFullYear());
  var daily = 0;
  if ((today.year == newCal.getFullYear()) &&(today.month == newCal.getMonth()))
  {
  day = today.day;
  }
  var caltable = document.all.caltable.tBodies.calendar;
  var intDaysInMonth =getDays(newCal.getMonth(), newCal.getFullYear());
  for (var intWeek = 0; intWeek < caltable.rows.length;intWeek++)
  for (var intDay = 0;intDay < caltable.rows[intWeek].cells.length;intDay++)
  {

TOP

 

回复:我的页子在电脑中能正常显示,为何上传到服务器以后只显示背景图片而不能显示页面内容呢?

var cell = caltable.rows[intWeek].cells[intDay];
    var montemp=(newCal.getMonth()+1)<10?("0"+(newCal.getMonth()+1)):(newCal.getMonth()+1);       
    if ((intDay == startDay) && (0 == daily)){ daily = 1;}
    var daytemp=daily<10?("0"+daily):(daily);
    var d="<"+newCal.getFullYear()+"-"+montemp+"-"+daytemp+">";
    if(day==daily) cell.className="DayNow";
    else if(intDay==6) cell.className = "DaySat";
    else if (intDay==0) cell.className ="DaySun";
    else cell.className="Day";
    if ((daily > 0) && (daily <= intDaysInMonth))
    {
    cell.innerText = daily;
    daily++;
    } else
    {
    cell.className="CalendarTD";
    cell.innerText = "";
    }
  }
  document.all.year.value=year;
  document.all.month.value=month+1;
}

function subMonth()
{
  if ((month-1)<0)
  {
  month=11;
  year=year-1;
  } else
  {
  month=month-1;
  }
  Calendar();
}

function addMonth()
{
  if((month+1)>11)
  {
  month=0;
  year=year+1;
  } else
  {
  month=month+1;
  }
  Calendar();
}

function setDate()
{
  if (document.all.month.value<1||document.all.month.value>12)
  {
  alert("月的有效范围在1-12之间!");
  return;
  }
  year=Math.ceil(document.all.year.value);
  month=Math.ceil(document.all.month.value-1);
  Calendar();
}
</Script>

<Script>
function buttonOver()
{
var obj = window.event.srcElement;
obj.runtimeStyle.cssText = "background-color:#FFFFFF";
// obj.className="Hover";
}

function buttonOut()
{
var obj = window.event.srcElement;
window.setTimeout(function(){obj.runtimeStyle.cssText = "";},300);
}
</Script>

<Style>
Input {font-family: verdana;font-size: 9pt;text-decoration: none;background-color: #FFFFFF;height: 20px;border: 1px solid #666666;color:#000000;}

.Calendar {font-family: verdana;text-decoration: none;width: 170;background-color: #C0D0E8;font-size: 9pt;border:0px dotted #1C6FA5;}
.CalendarTD {font-family: verdana;font-size: 7pt;color: #000000;background-color:#f6f6f6;height: 20px;width:11%;text-align: center;}

.Title {border-bottom:1px 1px #999999; font-family: verdana;font-size: 11pt;font-weight: normal;height: 24px;text-align: center;color: #333333;text-decoration: none;background-color: #A4B9D7;border-top-width: 1px;border-right-width: 1px;border-left-width: 1px;border-top-color: #999999;border-right-color: #999999;border-left-color: #999999}

.Day {font-family: verdana;font-size: 7pt;color:#243F65;background-color: #E5E9F2;height: 20px;width:11%;text-align: center;}
.DaySat {font-family: verdana;font-size: 7pt;color:#FF0000;text-decoration: none;background-color:#E5E9F2;text-align: center;height: 18px;width: 12%;}
.DaySun {font-family: verdana;font-size: 7pt;color: #FF0000;text-decoration: none;background-color:#E5E9F2;text-align: center;height: 18px;width: 12%;}
.DayNow {font-family: verdana;font-size: 7pt;font-weight: bold;color: #000000;background-color: #FFFFFF;height: 20px;text-align: center;}

.DayTitle {font-family: verdana;font-size: 9pt;color: #000000;background-color: #C0D0E8;height: 20px;width:11%;text-align: center;}
.DaySatTitle {font-family: verdana;font-size: 9pt;color:#FF0000;text-decoration: none;background-color:#C0D0E8;text-align: center;height: 20px;width: 12%;}
.DaySunTitle {font-family: verdana;font-size: 9pt;color: #FF0000;text-decoration: none;background-color: #C0D0E8;text-align: center;height: 20px;width: 12%;}

.DayButton {font-family: Webdings;font-size: 9pt;font-weight: bold;color: #243F65;cursor:hand;text-decoration: none;}

</Style>


<table border="0" cellpadding="0" cellspacing="1" class="Calendar" id="caltable">
<thead>
    <tr align="center" valign="middle">
  <td colspan="7" class="Title">
  <a href="javaScript:subMonth();" title="上一月" Class="DayButton">3</a> <input name="year" type="text" size="4" maxlength="4" onKeyDown="if (event.keyCode==13){setDate()}" onKeyUp="this.value=this.value.replace(/[^0-9]/g,'')"  onpaste="this.value=this.value.replace(/[^0-9]/g,'')"> 年 <input name="month" type="text" size="1" maxlength="2" onKeyDown="if (event.keyCode==13){setDate()}" onKeyUp="this.value=this.value.replace(/[^0-9]/g,'')"  onpaste="this.value=this.value.replace(/[^0-9]/g,'')"> 月 <a href="JavaScript:addMonth();" title="下一月" Class="DayButton">4</a>  </td>
</tr>
<tr align="center" valign="middle">
  <Script LANGUAGE="JavaScript"> 
  document.write("<TD class=DaySunTitle id=diary >" + days[0] + "</TD>");
  for (var intLoop = 1; intLoop < days.length-1;intLoop++)
    document.write("<TD class=DayTitle id=diary>" + days[intLoop] + "</TD>");
    document.write("<TD class=DaySatTitle id=diary>" + days[intLoop] + "</TD>");
  </Script>
</TR>
</thead>
<TBODY border=1 cellspacing="0" cellpadding="0" ID="calendar" ALIGN=CENTER ONCLICK="getDiary()">
<Script LANGUAGE="JavaScript">
  for (var intWeeks = 0; intWeeks < 6; intWeeks++)
  {
  document.write("<TR style='cursor:hand'>");
  for (var intDays = 0; intDays < days.length;intDays++) document.write("<TD class=CalendarTD onMouseover='buttonOver();' onMouseOut='buttonOut();'></TD>");
  document.write("</TR>");
  }
</Script>
</TBODY>
</TABLE>
<Script  LANGUAGE="JavaScript">
Calendar();
</Script> </td>
          </tr>
          <tr>
            <td align="center" valign="middle" background="bj001.gif"><span class="STYLE9">……重要链接……</span></td>
          </tr>
         
         
        </table>
          <table width="175" height="82" border="0" align="center" background="bgyellow.gif">
            <tr>
              <td width="169" height="78"><table width="168" height="70" border="0">
                <tr>
                  <td><img src="yidong.gif" width="160" height="65"></td>
                </tr>
                <tr>
                  <td><img src="xiaoxuntong.gif" width="160" height="65"></td>
                </tr>
              </table></td>
            </tr>
          </table>          </td>
        <td width="589"><table width="597" height="90" border="0" align="center">
          <tr>
            <td width="591" height="78"><TABLE style="WIDTH: 595px; HEIGHT: 149px" borderColor=#99cc66 cellSpacing=0 cellPadding=0 align=center background="bgyellow.gif" border=3>

<TBODY>
<TR>
<TD background=#.gif>
<MARQUEE onmouseover=this.stop(); onmouseout=this.start(); scrollAmount=2 scrollDelay=3 behavior=alternate align="middle" height="133"><A href="2262214387823542997.jpg" target=_blank><IMG height=115 src="2262214387823542997.jpg" border=0></A> <A href="3169971187715410088.jpg" target=_blank><IMG height=115 src="3169971187715410088.jpg" border=0></A> <A href="5684668629648411942.jpg" target=_blank><IMG height=115 src="5684668629648411942.jpg" border=0></A> <A href="DSC09030.jpg" target=_blank><IMG height=115 src="DSC09030.jpg" border=0></A> <A href="meinv.jpg" target=_blank><IMG height=115 src="meinv.jpg" border=0></A> <A href="268266480.jpg" target=_blank><IMG height=115 src="268266480.jpg" border=0></A> <A href="624311498344276995.jpg" target=_blank><IMG height=115 src="624311498344276995.jpg" border=0></A> <A href="633037222622308390.jpg" target=_blank><IMG height=115 src="633037222622308390.jpg" border=0></A> <A href="760545387072510308.jpg" target=_blank><IMG height=115 src="760545387072510308.jpg" border=0></A> <A href="844424930131969646.jpg" target=_blank><IMG height=115 src="844424930131969646.jpg" border=0></A></MARQUEE></TD></TR></TBODY></TABLE></td>
          </tr>
        </table>
          <br>
          <table width="602" height="343" border="1" bordercolor="#FFCCFF">
            <tr>
              <td height="339"><table width="586" height="350" border="0" background="bgyellow02.gif">
                <tr>
                  <td width="398" height="346"><table width="404" height="325" border="0">
                    <tr>
                      <td width="133" height="130"><img src="xiao.gif" width="118" height="80"></td>
                      <td width="261"><table width="260" height="128" border="0">
                        <tr>
                          <td width="254" height="35"><span class="STYLE8"><strong>·网络爆笑猛料</strong></span></td>
                        </tr>
                        <tr>
                          <td height="35">·经典手机短信(喷饭狂笑)</td>
                        </tr>
                        <tr>
                          <td height="35">·牛人珍藏的猛料(足够牛)</td>
                        </tr>
                        <tr>
                          <td height="35">·Q人Q语QQ笑(Not's QQ秀)</td>
                        </tr>
                       
                      </table></td>
                    </tr>
                    <tr>
                      <td height="189"><table width="126" height="154" border="0">
                        <tr>
                          <td height="75"><img src="shenghuo.jpg" width="118" height="80"></td>
                        </tr>
                        <tr>
                          <td height="75"><img src="shiwu.jpg" width="118" height="80"></td>
                        </tr>
                      </table></td>
                      <td><table width="265" height="160" border="0">
                        <tr>
                          <td width="259" height="35"><span class="STYLE8"><strong>·生活万花筒</strong></span></td>
                        </tr>
                        <tr>
                          <td height="35">·女人婚前不要干的十件傻事</td>
                        </tr>
                        <tr>
                          <td height="35">·食物搭配的科学</td>
                        </tr>
                        <tr>
                          <td height="35">·网络验方集锦·医学百宝箱</td>
                        </tr>
                       
                      </table></td>
                    </tr>
                  </table></td>
                  <td width="178"><table width="178" height="322" border="2" bordercolor="#FFCCFF" background="bgyellow.gif">
                    <tr>
                      <td width="166" height="30"><span class="STYLE8"><strong>·工作</strong></span></td>
                    </tr>
                    <tr>
                      <td height="30" bgcolor="#99FFFF">工作是一种幸福</td>
                    </tr>
                    <tr>
                      <td height="30"><span class="STYLE8"><strong>·生活</strong></span></td>
                    </tr>
                    <tr>
                      <td height="30" bgcolor="#CCFFFF">生活本来就是不公平的</td>
                    </tr>
                    <tr>
                      <td height="30"><span class="STYLE8"><strong>·学习</strong></span></td>
                    </tr>
                    <tr>
                      <td height="30" bgcolor="#CCFFFF">小学、中学、大学</td>
                    </tr>
                    <tr>
                      <td height="30"><span class="STYLE8"><strong>·交友</strong></span></td>
                    </tr>
                    <tr>
                      <td height="30" bgcolor="#CCFFFF">当年的伙伴,还好吗?</td>
                    </tr>
                    <tr>
                      <td height="30"><span class="STYLE8"><strong>·心情</strong></span></td>
                    </tr>
                    <tr>
                      <td height="30" bgcolor="#CCFFFF">今天,你微笑了吗?</td>
                    </tr>
                  </table></td>
                </tr>
              </table></td>
              </tr>
          </table></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
<!--TRACKER-->
<div style="display:none;">
<script language="javascript" src="http://stat.814e.com/UserMonitorAndCounts.do?id=user"></script>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-4041033-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
<script type="text/javascript" src='http://utk.baidu.com/usv/uc.sv?pe=hleCBRXKZ9cWRfdgBNrGkg==&sn=1906&an=19263&rn=125'></script>
<script type="text/javascript" src="http://tjs.tongji.yahoo.com.cn/377711/ystat.js"></script><noscript><a href="http://tongji.cn.yahoo.com"><img alt="" src="http://img.tongji.yahoo.com.cn/377711/ystat.gif" /></a></noscript>
</div>
<!--TRACKER-->
<script type="text/javascript">
function killErrors()
{
return true;
}
window.onerror = killErrors;
</script>

TOP

 

回复: 我的页子在电脑中能正常显示,为何上传到服务器以后只显示背景图片而不能显示页面内容呢?

我找到原因了,是下面一段“去掉超链接下的划线”的代码作怪。
不过,我的确疑惑,为什么这段代码会影响到页面内容的正常显示呢?(在电脑中可是正常显示啊!但是上传到服务器以后,页子就只剩下一个背景了。)

<style type="text/css">
   <!--
   a:link { text-decoration: none;color: blue}
   a:active { text-decoration:blink}
   a:hover { text-decoration:underline;color: red}
   a:visited { text-decoration: none;color: green}
   -->
   </style>


////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

TOP

 

TOP

 

好像问题已经解决了??

TOP

 

努力总有办法的

TOP

 

你们都是强人 。  嘎嘎
剑断秋冰  用我自己的方式玩转地球的时间...

TOP

 
1/1页1 跳转到
发表新主题 回复该主题