I'm having issues with a nested div causing trouble for me.
<div style="border:solid 20px #ccff33;border-radius:10px;height:300px;width:300px;margin:20px;display: inline-block">
<img src="images/f35.jpg" style="margin-right:10px" />
<div style="float:right;padding-left:10px; border-left:solid 1px #aaaaaa; font-size: 12px; display:inline-block">
Some text here.
</div>
</div>
My problem is that the output doesn't look as intended:
The inner div is not appearing next to the image within the containing div. I need the text to be positioned on the right side of the image and within the same container.
A couple of things to note: I must stick to using divs (no tables) and all styles need to be inline.