조금 이상한 문제가 있습니다. 내 웹 사이트의 메인 페이지를 디자인하기 위해 노력 중이며 수정을 위해 내 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>
<a href=" ბაკურიანი.html ">ბაკურიანი </a>
<a href=" გუდაური.html ">გუდაური </a>
<a href=" ზღვა.html ">ზღვა </a>
<a href=" კახეთი.html ">კახეთი </a>
<a href=" სვანეთი.html ">სვანეთი </a>
<a href=" ვარძია.html ">ვარძია </a>
<a href=" ქართლი.html ">ქართლი </a>
<a href=" ძველი_თბილისი.html ">ძველი_თბილისი </a>
<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>
:
여기 내 코드입니다. 왜?
"작동하지 않음"을보다 자세히 정의하십시오. – deceze
캐시가 어쩌면? 캐시를 지우십시오. –
어떻게 해결할 수 있습니까? –