1 Attachment(s)
images overflow when screen is smaller
On this test page for a new site I have smaller images that open into a lighbox when you click on them. The page looks fine in full size but when it's smaller the images fall out of the container.
Attachment 5695
The css for the visual lightbox is http://andrewsamonas.com/photo_files...vlightbox1.css
Code:
#vlightbox1 {
width:100%;
zoom:1;
}
#vlightbox1 .vlightbox1 {
display:-moz-inline-stack;
display:inline-block;
zoom:1;
*display:inline;
position:relative;
vertical-align:top;
margin:5px;
width:300px;
font-family:Trebuchet,Tahoma,Arial,sans-serif;
font-size:11px;
font-weight:normal;
text-decoration:none;
text-align:center;
opacity:0.87;
outline:none;
}
#vlightbox1 .vlightbox1 a{
margin:0;
}
#vlightbox1 .vlightbox1:hover, #vlightbox1 .vlightbox1 a:hover{
opacity:1;
}
#vlightbox1 .vlightbox1 img{
display:block;
border:none;
margin:0;
}
#vlightbox1 .vlightbox1 div {display:none}