01) In my attempt to create a row with two content boxes, I encountered an issue. The first box is supposed to display an image and the second box text. However, I am struggling to make it responsive and interactive based on different browser and screen sizes.
I aim to achieve this desired outcome while ensuring it adapts to varying screen sizes:
https://i.sstatic.net/C14q5.png
This is why I included :
<div class="inner"></div>
in an effort to control the maximum dimensions, but unfortunately, it did not work as intended.
HTML:
<head>
<link rel="stylesheet" type="text/css" href="rich_text.css">
</head>
<div class="inner">
<div class="feature left">
<span class="image"><img src="http://SITE.co.uk/images/bg3.png" alt="" />
</span>
<div class="content">
<h2>Total Facebook Image Likes</h2>
<p>65 </p>
<ul class="actions">
<li><a class="button alt" href="#">LINK</a></li>
</ul>
</div>
</div>
</div>
CSS: CSS LINK
02) Another observation I made was that the final output appears distorted if the image size is too large.
I attempted to address this by including:
<span class="image"><img style="height:400px;max-width:400px; src="http://SITE.co.uk/images/bg3.png" alt="" />
However, the image fails to load properly.