<FIG> implies <P>?

Mike Batchelor (mikebat@clark.net)
Tue, 11 Jul 1995 13:35:47 -0400 (EDT)


I've noticed with Arena, that using a <FIG> implies a <P>. Is this
intentional?

Example: I want to put a <FIG> in the middle of a paragraph, and have
that paragraph wrap around the top, side and bottom of the <FIG>. So I do
this:

<p>
Typing, words, the quick brown fox jumps over the lazy dog. La dee
dah, more content here, and now I will put
<FIG src="image.gif align=right>
<caption>The caption for my figure</caption></fig>
a figure in the middle of my paragraph. This is some more content to my
paragraph, and this ought to wrap around the top, side, and bottom of the
figure.

This is what I thought I'd get:

xxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxx +-----+
xxxxxxxxxxxxxx | |
xxxxxxxxxxxxxx | |
xxxxxxxxxxxxxx | |
xxxxxxxxxxxxxx +-----+
xxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxx

But this is how Arena shows it:

xxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxx
xxxxxx +-----+ last line before the <FIG> breaks at the point I
| | inserted the <FIG> element. It continues after
xxxxxxxxxxxxxx | | a <p> break.
xxxxxxxxxxxxxx | |
xxxxxxxxxxxxxx +-----+
xxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxx

So it seems that <FIG> implies <P>. Is this how it should be?

-- 
 %%%%%% mikebat@clark.net %%%%%% http://www.clark.net/pub/mikebat/www/ %%%%%%