|
<APPLET ...>ALIGN = LEFT | RIGHT | TOP | MIDDLE | BOTTOM | BASELINEALIGNALIGN<IMG ALIGN="...">
The values for ALIGNLEFT and
RIGHT, which put the applet on the left or right side of the page; and all the other values, which concern the vertical placement of an inline applet.
LEFT and RIGHTLEFT and
RIGHT
put the applet on the left or right side of the page and cause the text to wrap around it:
| this code | produces this |
<APPLET
CODE="MyApplet.class"
ALIGN=LEFT
HEIGHT=50 WIDTH=50>
|
Come on down to our beautiful town! We'll show you a right good time and some tasty food to boot! |
<APPLET
CODE="MyApplet.class"
ALIGN=RIGHT
HEIGHT=50 WIDTH=50>
|
Come on down to our beautiful town! We'll show you a right good time and some tasty food to boot! |
Text will continue to wrap around the applet until it gets past the applet, or until you use
<BR CLEAR="...">
| this code | produces this |
<APPLET
CODE="MyApplet.class"
ALIGN=LEFT
HEIGHT=150 WIDTH=50>
<PARAM NAME=TEXT VALUE="Howdy!">
</APPLET>
Come on down to our beautiful town!<BR CLEAR=ALL>
We'll show you a right good
time and some tasty food to boot!
|
Come on down to our beautiful town! We'll show you a right good time and some tasty food to boot! |
If the text looks crowded too close to the applet, you may want to check
<APPLET HSPACE="..."><APPLET VSPACE="...">
ALIGNALIGN
| this code | produces this |
<APPLET
CODE="MyApplet.class"
HEIGHT=50 WIDTH=50>
|
Xy |
TOP
| this code | produces this |
<APPLET
CODE="MyApplet.class"
ALIGN=TOP
HEIGHT=50 WIDTH=50>
|
Xy |
MIDDLEALIGN
| this code | produces this |
<APPLET
CODE="MyApplet.class"
ALIGN=MIDDLE
HEIGHT=50 WIDTH=50>
|
X |
BOTTOM
| this code | produces this |
<APPLET
CODE="MyApplet.class"
ALIGN=BOTTOM
HEIGHT=75 WIDTH=75>
|
Xjy |
BASELINE
Aligns the bottom of the applet with the baseline of the text.
The baseline is the line along which the bottom of most letters rest, but
below which some letters dangle, such as j and y.
| this code | produces this |
<APPLET
CODE="MyApplet.class"
ALIGN=BASELINE
HEIGHT=75 WIDTH=75>
|
Xjy |
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.