为什么我每次保存,路径前都会添加一个../,请问知道是怎么回事么?
我的代码很简单,但是,有个问题一直困扰着我。我每次保存,路径前都会添加一个../,请问知道是怎么回事么?
例如以下代码:图片的路径我手动改成ztimages/boty.css和images/spacer.gif,但是只要我保存或是预览都会自动在路径前加上一个../。变成../ztimages/boty.css和../images/spacer.gif。而且是保存一次就会添加一个。保存多次就会添加很多。就像下面的代码一样。
<HTML><HEAD>
<TITLE></TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META content="zh-cn" http-equiv="Content-Language"><TITLE>首页</TITLE>
<LINK rel="stylesheet" type="text/css" href="../../../../../../../ztimages/boty.css">
<link rel="stylesheet" href="../../../../../../images/css.css" type="text/css" media="all" />
</HEAD>
<BODY style="background-image: url('../../../../../../ztimages/bg.gif')">
<TABLE border="0" cellSpacing="0" cellPadding="0" width="976" align="center">
<TBODY>
<TR>
<TD class="center01">
<div align="right">
<TABLE border="0" cellSpacing="0" cellPadding="0" width="100%" id="table57" align="right">
<TBODY>
<tr>
<TD vAlign="top" align="right">
<TABLE border="0" cellSpacing="0" cellPadding="0" width="100%" id="table249">
<TBODY>
<TR>
<TD class="xiangguan" vAlign="top" align="left">
<HTML>
<BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
<TABLE WIDTH=1000 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD COLSPAN=4>
</TD>
<TD>
<IMG SRC="../images/spacer.gif" WIDTH=1 HEIGHT=122 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=4>
</TD>
<TD>
<IMG SRC="../../images/spacer.gif" WIDTH=1 HEIGHT=370 ALT=""></TD>