Hi,
Using the script above I have a really simple full height image div. Now with min and max:
Code:
html, body{
white-space: nowrap;
margin: 0px;
background:#f1f1f1;
height: 100%;
overflow: hidden;
overflow-x: auto;
}
#imageslide{
margin:0px 0px 0px 0px;
height: 100%;
min-height:300px;
max-height:600px;
}
img {
height: 100%;
vertical-align: top;
margin:0px 5px 0px 0px;
}
However, I want to have a menu along the top of my page. Roughly 30px high.
If I give the #imageslide and top margin of 30px I can fit in my menu but I lose that 30px on the bottom now. It crops in 30px before resizing the image.
Does that make sense? How can I go about adding a margin at the top?
Bookmarks