I am in need of the following:
======
=img1= Description
======
======
=img2= Additional Info
======
Existing HTML setup:
<div id="division-id">
<a href="[href]"><img src="images/img1.png"></a>
<p>Description</p>
<a href="[href]"><img src="images/img2.png"></a>
<p>Additional info</p>
</div>
After applying this CSS rule:
#division-id p {
display: in-line
}
The output appears like this:
====== ======
=img1= Text =img2= Some more Text
====== ======
Understanding why this happens and finding a suitable solution is crucial. What could be causing this issue and how can it be rectified?