Re: inline images on same line?

> Can someone tell me how to tag two small inline images so that
> they appear side to side on the same line instead of one above
> the other?
> [...]
> Brian Mansfield
> bmfield@mcs.com

Most browsers, including Mosiac for *, 'wrap' inline images along with
text.  If the sum width of the two small inline images in question is
less than the page width, they will sit side by side.

My understanding of HTML Level 2 is that there is no way of specifying
an absolute page width in pixels.  A preformatted element can have a
width in characters, but obviously the size of the font and thus the
pixel width is variable with the broswer.

A simple if inelegant solution is to include an inline image as wide
or wider than the sum width of the other images: this should force the
required page width.  I often use a long skinny logo at the top of the
page.

One anticipates that table and figure elements will provide more
flexible solutions in future version of HTML.

--+ greg bossert                 rutgers university network services +--
--+ bossert@noc.rutgers.edu					     +--
--+ http://www-ns.rutgers.edu/~bossert				     +--
--+ PGP Footprint: 96 6D DC 1D 77 F8 73 68  C9 F6 8B 08 2C 4A 39 42  +--
--+								     +--
--+	    i have never been afraid to change -- Happy		     +--
--+	      the circumstances of the world   -- Rhodes	     +--

Received on Friday, 12 August 1994 05:46:52 UTC