...

View Full Version : wrap data around image



sticks
12-14-2002, 01:13 AM
Hi again.
I am trying to have text that is called from a database word wrap around an image that is also called from the same database. Is this at all possible. I have called the two fields in the same table cell but the text does not start until the bottom of the picture instead of next to it. HOpe this makes sense.

My code is:



<td class="text" colspan="2" valign="top">
<div align="left"><img src="<? echo($row['imgname']); ?>">
<?echo(nl2br($row['info_long'])); ?>
</div>


Any help greatly appreciated as I'm new to this game.

Thanks, Sheryll.

Nightfire
12-14-2002, 03:23 AM
try adding align="left" or align="right" into the image tag

Kiwi
12-14-2002, 11:39 AM
Or <img style="float:right;" src"..."/>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum