Topic: wrap text around image (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=29532" title="Pages that link to Topic: wrap text around image (Page 1 of 1)" rel="nofollow" >Topic: wrap text around image <span class="small">(Page 1 of 1)</span>\

 
GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 09-13-2007 22:15

hello,

with plain old html, is it possible to embed an image in text somehow, so that the text nicely wraps around the image.
ideally, the image is right-bound.

thanks!

poi
Paranoid (IV) Inmate

From: Norway
Insane since: Jun 2002

posted posted 09-13-2007 22:31

Are you talking about:

code:
img
{
float:right;
}

code:
<p><img src='foo.jpg' alt='' />Lorem lipsum ...</p>

Or did I misunderstand your question ?

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

posted posted 09-13-2007 22:44

not in a 'follows what's shown in the image' fashion, ontly rectangles.

Uneek (I believe) had a pretty javascript based variant though that did about that
(provided you handed it the run lengths of the each line of text yourself)...

poi
Paranoid (IV) Inmate

From: Norway
Insane since: Jun 2002

posted posted 09-13-2007 23:03

Oh!

If we have the same thread in minds ( Curves with JavaScript ), it is Warmage who made a script to generate circular punches.

Flowing scrolling text around a fixed image might also prove useful.

Hope that helps,

reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

posted posted 09-14-2007 15:26
quote:
poi said:

alt='' />


He asked for HTML.

HZR
Paranoid (IV) Inmate

From: Cold Sweden
Insane since: Jul 2002

posted posted 09-14-2007 15:59
quote:

reisio said:
He asked for HTML.


And poi wrote some HTML 5, where the solidus is legal

(Edited by HZR on 09-14-2007 16:01)

reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

posted posted 09-14-2007 20:26

Don't say that word! Suffice to say the knights of reisio cannot hear!

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

posted posted 09-15-2007 10:08

My appologies to warmage - that's the script I was remembering.

My memorie just ain't what it used to be

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 09-17-2007 23:37

thanks everybody. the problem was that the image-tag was not inside a p-tag



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu