2013-03-01 1 views
0

고정 된 위치 지정을 사용하여 2 개의 div를 사용하고 크기를 조정 한 후 오페라는 요소를 다시 그리지 않습니다.오페라 위치가 고정 된 요소로 고정되고 버그의 크기가 조정됩니까?

#wrapper{ 
    position:fixed; 
    z-index:10000; 
    height: auto; 
    background-color: transparent; 
    margin: 0; 
} 

#label { 
    position: fixed; 
    bottom:0px; 
    left: 50%; 
    background-color: transparent; 
    z-index: 9999999; 
    height: 40px; 
    width: 200px; 
    border: 1px solid red; 
    margin-left:-100px; 
} 


<div id="wrapper"> 
    <div id="label">content</div> 
</div> 

U 오페라 브라우저에서이 여기

http://jsfiddle.net/6Cm6J/1/

버그 그냥로드 페이지를 참조하십시오 창 크기를 조정할 수 있습니다.

Pls는 도움

답변

0

쓰기이 CSS를

Live Demo

CSS

#wrapper{ 
    position:fixed; 
    z-index:10000; 
    height: auto; 
    background-color: transparent; 
    margin: 0; 
    bottom:0; 
    left:0; 
    right:0; 
} 

#label { 
    position: relative; 
    bottom:0px; 
    left: 50%; 
    background-color: transparent; 
    height: 40px; 
    width: 200px; 
    border: 1px solid red; 
    margin-left:-100px; 
} 
관련 문제