2012-11-09 4 views
1

Opera에서 사라지는 div에 문제가 있습니다.
링크를 클릭하면 헤더가 사라집니다.
도와주세요.내부 링크를 클릭했을 때 Opera에서 사라지는 div

<style type="text/css"> 

    body { 
    height: 100%; 
    border: 0; 
    margin: 0; 
    padding: 0; 
    font-size: 100%; 
} 

#top { 
    position:fixed; 
    height: 60px; 
    margin: 0; 
    background-color: #ccc; 
    width:100%; 
    z-index:100; 
    } 

#content { 
    position:relative; 
    z-index:0; 
    padding-top:70px; 
} 

h1 { 
    font-weight:bold; 
    padding-top: 70px; 
} 

</style> 
당신은 #top에 대한 '고정'위치를 선언하지 않은

problem example

+0

질문을 명확히하십시오. 원하는 것을 정확하게 말하기는 어렵습니다. – Mohamad

+0

예 링크를 참조하십시오. http://jsfiddle.net/KNdcL/show 그런 다음 샘플 페이지의 텍스트 링크를 클릭하십시오. 회색 div가 사라집니다 ... – pasteel

+0

Chrome에서 잘 작동합니다 (Win) – Kyle

답변

0

.

시도 :

position: fixed; 
top: 0px; 
관련 문제