Remove the inline-block
from #gallery
and add it to #galleryImage
. Also, remove the float
from #galleryImage
.
#gallery {
height: 525px;
margin-left: 10px;
overflow-y: hidden;
overflow-x: scroll;
}
#galleryImage {
height: 525px;
margin-left: 10px;
display: inline-block
}