좀 도와주세요이 고침 좀 도와주세요 http://jsfiddle.net/q4rdL/2/ 나는 왼쪽에있는 다른 다음과 이전 버튼이있는 메뉴를하고 있는데, 나는 너비 100 % 높이 100 % 이전 및 다음 div의 사이에 여백 왼쪽 여백이 바로 여기에 모든여백 오른쪽 작동하지 않습니다
에서 작동하지 않습니다 잘 작동 코드입니다 :
<div id="menu" style ="width : 100% ; height:50px ; border : 2px solid red ; position : absolute ; top:0 ; display : none" >
<div id="pre" style ="height:100% ; width: 50px ; border :1px solid green ; float :left ; left:0 "><</div>
<div id="menuContent" style="width:100% ; height:100% ; border : 5px solid green ; position:absolute; margin-left :60px ;" > </div>
<div id="next" style ="height:100% ; width: 50px ; border :1px solid green ; float :right ; right:0 ; position:absolute ">></div>
</div>
<div id="show_hide" style ="width : 100% ; height:70px ; position : absolute ; top:0" ></div>
질문 여백 잘 작동하는지 확인하는 방법이며 않는 이유 이 ?
? 나는 OP 또는 바이올린에서 그것을 보지 못한다. –
코드를 살펴볼 때 몇 분만 기다리면 문제점을 찾을 수 있습니다. –
@ MarkM 내가 업데이트, –