I'm having a strange issue here..
Here's my CSS:
#rightimage img {
max-width: 10%;
}
#mainbox {
background: #fff;
box-shadow: 0px 3px 12px 2px #000;
padding: 10px;
width: 56%;
margin-top: 20px;
}
#container {
margin-left: 11%;
}
#rightimgage {
background: #fff;
box-shadow: 0px 3px 12px 2px #000;
padding: 10px;
position: absolute;
right: 12%;
min-width: 25px;
max-width: 28%;
margin-top: -0.5%;
}
#rightimgage2 {
background: #fff;
box-shadow: 0px 3px 12px 2px #000;
padding: 10px;
position: absolute;
right: 83px;
width: 285px;
}
#cssmenu li {
display: inline-block;
}
.rotate {
-webkit-transition: all 0.5s ease-out;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
}
.rotate:hover {
-webkit-transform: rotate(-7deg);
-moz-transform: rotate(-7deg);
-o-transform: rotate(-7deg);
}
This is my HTML:
<div id="rightimgage" style="top: 247px;" class="rotate">
<img src="http://#.x10.bz/image1.png" />
</div>
<div id="rightimgage" style="top: 650px;" class="rotate">
<img src="http://#.x10.bz/image2.png" />
</div>
<div id="rightimgage" style="top: 1053px;" class="rotate">
<img src="http://#.x10.bz/image3.png" />
</div>
<div id="rightimgage" style="top: 1456px;" class="rotate">
<img src="http://#.x10.bz/image4.png" />
</div>
<div id="mainbox">
<p>RANDOM TEXT HERE...</p>
</div>
On a 1024 x 768 screen resolution, it shows like this: http://prntscr.com/88c4tj As you can see, the two divs next to each other are the same hight.
However on a 1366 x 768 screen resolution, it looks like this: http://prntscr.com/88c6ab As you can see, the image is way higher up than in the 1024 x 768 resolution.
How do I resolve this, so the images are the same hight in all resolutions?