Всем привет. Помогите! В моём боксе для фотографий нету скролла! Вот html
<div id="imageviewbox" style="display: none;">
<div id="imageviewboxbg"></div>
<div id="ivbprevious" class="previous"><div id="ivbp"></div></div>
<div id="ivbclose" class="closebox"><div id="ivbx"></div></div>
<div id="viewboxwrap">
<div id="viewbox">
<p id="imgboxname"></p><a class="closebox" id="closetext">Закрыть</a>
<div id="imgwrape"></div>
</div>
</div>
</div>
а вот css
#imageviewbox {
position: fixed;
width: 100%;
height: 100%;
z-index: 200;
top: 0px;
}
#imageviewboxbg {
position: fixed;
width: 100%;
height: 100%;
background: black;
z-index: 200;
opacity: 0.7;
}
#ivbclose {
position: fixed;
width: 50%;
top: 0px;
right: 0px;
height: 100%;
z-index: 201;
cursor: pointer;
}
#ivbprevious {
position: fixed;
width: 50%;
top: 0px;
left: 0px;
height: 100%;
z-index: 201;
cursor: pointer;
}
#ivbx {
opacity: 0.4;
position: fixed;
top: 20px;
right: 20px;
width: 17px;
height: 20px;
background-image: url(img/main/close.png);
}
#ivbp {
opacity: 0.4;
position: fixed;
top: 20px;
left: 20px;
width: 17px;
height: 20px;
background-image: url(img/main/previous.png);
}
#viewbox {
background: white;
box-shadow: 0 0 5px black;
position: fixed;
z-index: 202;
width: 800px;
padding: 3px 25px 25px 25px;
top: 11px;
left: 50%;
margin-left: -425px;
}
#imgboxname {
color: #2B587A;
font-weight: bold;
font-size: 11px;
}
#closetext {
position: absolute;
right: 0px;
top: 0px;
color: #2B587A;
padding-top: 15px;
padding-right: 25px;
padding-bottom: 10px;
padding-left: 10px;
}
#closetext:hover {
text-decoration: underline;
cursor: pointer;
}