Ferellie
02-13-2006, 04:02 PM
Hello,
I am trying to create a vertical scrolling div 400px wide by 140px high. It contains small images.
I used a class for the images to give them a border etc. See below.
It works in IE but in Mozilla Firefox they just scroll horizontally?
I would really appreciate any help.
#divScroll {
padding-top: 5px;
padding-bottom: 5px;
border-top-width: 2px;
border-bottom-width: 5px;
border-top-style: solid;
border-bottom-style: solid;
border-top-color: #22527A;
border-left-color: #22527A;
overflow: scroll;
width: 400px;
margin-top: 20px;
margin-bottom: 15px;
height: 140px;
(applied to images)
.imgScroll {
padding: 0px;
border: 4px solid #4193BE;
float: left;
margin: 5px;
clear: right;
Thank you,
Peter
I am trying to create a vertical scrolling div 400px wide by 140px high. It contains small images.
I used a class for the images to give them a border etc. See below.
It works in IE but in Mozilla Firefox they just scroll horizontally?
I would really appreciate any help.
#divScroll {
padding-top: 5px;
padding-bottom: 5px;
border-top-width: 2px;
border-bottom-width: 5px;
border-top-style: solid;
border-bottom-style: solid;
border-top-color: #22527A;
border-left-color: #22527A;
overflow: scroll;
width: 400px;
margin-top: 20px;
margin-bottom: 15px;
height: 140px;
(applied to images)
.imgScroll {
padding: 0px;
border: 4px solid #4193BE;
float: left;
margin: 5px;
clear: right;
Thank you,
Peter