I want create a page like wikipedia page (https://i.sstatic.net/xV7adLpi.png). Which CSS properties can I give to text and images to make them appear like in that page (my text should take the full width after the image ends)?
my html file:
<div class="container">
<p class="text">my text ..........</p>
<div class="image">
<img src="..." alt="img"/>
</div>
</div>
I already tried using the flex and absolute properties, but it didn’t work.
New contributor
Engineer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.