문제가 생겼습니다. CSS를 처음 접했을 때 어떻게해야합니까?div를 다른 CSS 위에 위치 시키십시오.
#left_box
{
margin-top: 0px;
min-width: 10%;
max-width: 10%;
height: 800px;
background: #C90;
border: thin 5px #33CCFF;
position: absolute;
z-index:1;
left: 16px;
top: 1px;
float:none;
}
#bar_outside
{
margin-top:75px;
min-width:10px;
max-width:2000px;
height:55px;
background:#ff69b4;
border:#ff69b4: 5px;
position:static;
z-index:2;
} 당신의 도움에 대한
감사 : 이것은 내 코드입니다!
'position : static; to'position : relative;'z-index는 정적 위치 요소를 적용 할 수 없습니다. –
'z-index'를 만들기 위해서는'position : relative/absolute/fixed'를 사용해야합니다. – Vucko
http://jsfiddle.net/6RLqz/ 그런가요? – CRABOLO