I have an image and I want to re-size it to be suitable to the size of the text that will be besides to it. And the Text should be centered according to this image which will be on the left of this text.
How to re-size this image to be suitable to the text?
176802-Sep-2014
Updated on 02-Sep-2014
Sumit Kesarwani
02-Sep-2014Using a dynamic programming language you could generate code to:
<div class="image">
<img width="350" src="http://placehold.it/350x150" alt="A national flag" />
</div>
<div class="text" style="width:350px;">
This is the national flag and this is why we are using it.
</div>
<br class="clear" />