[thelist] text wrap around image

miinx lists at miinx.com.au
Wed Oct 9 02:37:00 CDT 2002


davemiller at tennishockey.com wrote:
 > Hey everyone, this is my first post!

Hi Dave, welcome  :)

 > Anyhoo, I'm working on a website where I need to have an image in the
 >  middle and on the right of a large blob of text (a large article)
 > coming from a database.  The text will wrap around the image.
 >
 > It'd be easy if the text were not coming from the database.  I could
 > just use tables or css.  Any ideas?

if I understand correctly, your problem is that you're not sure how to
get the image to be in the middle of the article text, cos the text
could be of any length..  is that correct?

maybe you could get the length of the article, calculate approx.
halfway, then stick your image there?  how you do that will depend on
the language you're using - which is..?

for the image, use the align attribute, and pad it using the hspace &
vspace attrib's:
<img src="yourimg.gif" align="right" hspace="20" vspace="20">

is that what you're after?

hth,
Karen
-------
Miinx Design & Development
e :: karen at miinx.com.au
p :: 0413.880.302
w :: www.miinx.com.au





More information about the thelist mailing list