부트 스트랩 모달 상자가 있습니다. 나는 그것이 화면의 오른쪽에 붙어 있기를 원한다. 나는 시도 때라도하지만 크기를 다시 할 때 윈도우는 당신이이 점에서 나를 도와주세요 수 있습니다!오른쪽의 부트 스트랩 모달 상자가 작동하지 않습니다.
<div id='test'>
<div id="add_pixel" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
</div>
</div>
#add_pixel{
position: absolute;
right: 0;
}
을 :(작동하지 않습니다하지만이 화면 오른쪽으로 이동하지 않습니다! 그것은 가치가있다 ! 내 CSS 파일이 부트 스트랩 CSS 파일 이후에 호출되는 것을
을 언급하지만 다음 코드는 잘 작동 :
<div id="id1">
<div id='id2'>
</div>
</div>
#id1{
background-color: yellow;
height: 400px;
}
#id2{
background-color: red;
height: 200px;
width: 200px;
position: absolute;
right: 0px;
}
내가 알아낼 수가 잘 작동하는 반면이, 부트 스트랩의 모달 상자 작동하지 않는 이유 정규 DIV와 함께!
귀하의 도움에 감사드립니다!