2012-08-08 3 views
-3

조금 이상한 문제가 있습니다. 내 웹 사이트의 메인 페이지를 디자인하기 위해 노력 중이며 수정을 위해 내 index.html 파일을 친구에게 보냈습니다.
그는이를 바로 잡아 돌려 보냈습니다. 내 프로젝트 폴더에 수정 된 index.html을 복사했습니다.왜 다른 이름이 나에게 다른 결과를 제공합니까?

index.html으로 이름을 남겨두면 올바르게 작동하지 않는 문제가 있습니다. 그림을 제대로 배치하지 않았습니다. 하지만 index.html to index1.html 또는 이와 비슷한 것으로 바꾸면 작동합니다. 이 이름은 index1.html 이고 잘 작동입니다하지만 index.html을로 이름을 변경하는 경우, 그것은 작동하지 않는 지금

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ka-ge" lang="ka-ge" > 
<head> 
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> 
</head> 
<style type="text/css"> 
#links { 
    postiton:absolute; 
    margin: 0 auto; 
    width: 4800px; 
    font-size:50px; 
    clear: both; 
    display: block; 

} 
#test a { 
    float: right; 
} 
a, a:active, a:visited { 
    color: yellow; 
    a {text-decoration:none;} 
} 
.image { 
    position:relative; 
    float:left; /* optional */ 
} 
.image .text { 
    position:absolute; 
    top:400px; /* in conjunction with left property, decides the text position */ 
    left:10px; 
    font-size:155%; 
} 
.flagimage { 
    position:absolute; 
    top:10px; /* in conjunction with left property, decides the text position */ 
    right:80px; 
} 
</style> 


<body > 

<div class="image"> 
    <img alt="" src="11.gif" /> 
    <div class="text"> 
    <a href=" index.html " >მთავარი </a> 
&nbsp; 
<a href=" ბაკურიანი.html ">ბაკურიანი </a> 
&nbsp; 
<a href=" გუდაური.html ">გუდაური </a> 
&nbsp; 
<a href=" ზღვა.html ">ზღვა </a> 
&nbsp; 
<a href=" კახეთი.html ">კახეთი </a> 
&nbsp; 
<a href=" სვანეთი.html ">სვანეთი </a> 
&nbsp; 
<a href=" ვარძია.html ">ვარძია </a> 
&nbsp; 
<a href=" ქართლი.html ">ქართლი </a> 
&nbsp; 
<a href=" ძველი_თბილისი.html ">ძველი_თბილისი </a> 
&nbsp; 
<a href=" დაკავშირება.html ">კონტაქტი </a> 
    </div> 
</div> 

<div class="flagimage"> 
<a href="eng/index.html"><img src ='english.gif' style="float:right" width="30" height="30"> </a> 
<a href="russ/index.html"><img src ='russian.gif' alt="Russian flag" style="float:right" width="30" height="30"/></a> 
<a href="index.html"> <img src="georgian.jpg" style="float:right" width="30" height="30"/></a> 
</div> 
<div id="links"> 


</div> 
</body> 
</html> 

:

여기 내 코드입니다. 왜?

+0

"작동하지 않음"을보다 자세히 정의하십시오. – deceze

+1

캐시가 어쩌면? 캐시를 지우십시오. –

+0

어떻게 해결할 수 있습니까? –

답변

2

URL을 사용하여 인터넷 사용 기록을 삭제하십시오. 같은 이름으로 작동해야합니다.

+0

아니오 작동하지 않습니다. –

+0

@dato : 작업 폴더에 다른 파일 또는 중복 파일이 있습니까? –

+0

작업 폴더에는 없습니다. 큰 폴더가 하나 있습니다.이 큰 폴더에는 또 다른 2 개의 폴더가 있지만, index.html이있는 곳에 다른 파일은 같은 이름이 아닙니다. –

관련 문제