I am trying to resize an image using "style="width: 100%; height: 50%". If I change the width, the image resizes. But if I change the height, the image does not resize.
So how do I change the height of the image?
Thank you.
<!doctype html>
<html>
<head>
</head>
<body>
<div id="slideshow_wrap">
<!-- slide show container -->
<div class="slideshow-container">
<div class="mySlides fade-slide">
<img src="https://www.w3schools.com/howto/img_nature_wide.jpg" style="width:100%; height:100%"> <!-- changing to height:50% does not affect -->
</div>
</div>
</body>
</html>