I have two images on the same row but I want these images have the same height also.
This is my code now:
HTML:
<div>
<div class="img1">
<img src="http://www.immobiliaredelcentromodena.com/wp-content/uploads/2017/02/esterno-agenzia.jpg">
</div>
<div class="img2">
<img src="http://www.immobiliaredelcentromodena.com/wp-content/uploads/2017/02/interno-agenzia.jpg">
</div>
<div>
CSS:
.img1 {
float:left;
width:30%;
}
.img2 {
float:right;
width:60%;
}
I tried to use the max-height
property without a width but it doesn't work.
This is what I want: