Image adjustment

Nathan Torkington (Nathan.Torkington@vuw.ac.nz)
Sat, 14 Aug 1993 17:24:33 +1200


Tony Sanders writes:

> > One test of the viability of a HTML+/HTPL solution would be if it would
> > allow you to be flexible in controlling where an image would go in a page
> > relative to text. NCSA Mosaic is rather frustrating in this regard
> > currently.. it would be nice to be able to center an image on a line,
> > for instance, or to have text wrap around an image..
> It's hard to do too much of this in a device independant way.
> Write a proposal and post it.

<IMG SRC=blah PLACE=centre TEXT=around>
<.............PLACE=left TEXT=above>
<.............PLACE=right TEXT=below>

PLACE is ``centre'' means centre the image
PLACE is ``left'' means the image is on the left side of the page
PLACE is `right'' means the image is on the right side of the page

TEXT is ``mixed'' means text in the same paragraph as the IMG flows
around the image
TEXT is ``above'' means the image is placed below the text of the
paragraph the IMG is in
TEXT Is ``below'' means the image is placed above the text of the
paragraph the IMG is in

Rendering is a two-pass job --- grab the whole para, and if it
contains <IMG> work out the order and formatting. Then display.

Nat.