M123
11-23-2009, 02:20 AM
Please let me know how I can center the following text to the image that is beside it.
<div style="float:left">
<img src="http://upload.wikimedia.org/wikipedia/commons/thumb/c/c1/Square-symbol.svg/50px-Square-symbol.svg.png"/>
</div>
Text
<br/>
Text
(can be tested with http://www.w3schools.com/html/tryit.asp?filename=tryhtml_intro)
<div style="float:left">
<img src="http://upload.wikimedia.org/wikipedia/commons/thumb/c/c1/Square-symbol.svg/50px-Square-symbol.svg.png"/>
</div>
Text
<br/>
Text
(can be tested with http://www.w3schools.com/html/tryit.asp?filename=tryhtml_intro)