HOME BACK NEXT MENU

 Tag Description:

-==--==--==--==--==-

<OVERLAY> Overlay

Definition: Use the OVERLAY element to overlay images on top of a base figure. Since small changes to a figure in a subsequent document are only penalized for downloading the overlays, not the larger base figure (since it's already cached), figure overlays give more effective caching. It's possible to offset the overlay from the top left corner of the base image.

Standard Attributes: MD, SRC

Attributes:

UNITS

UNITS is used to specify what the choice of units is for both width and height. Units=pixels, which is the default, specifies pixels, and units=en specifices en units (the en unit is a typographical unit that is equal to one-half the point size).

X

is the X offset from the top left corner of the base image. X is given in pixels or en units (according to the UNITS attribute's value) and increases to the right.

Y

is the Y offset from the top left corner of the base image. Y is given in pixels or en units (according to the UNITS attribute's value) and increases downwards.

WIDTH

WIDTH specifies what the desired width is in pixels or in units (according to what the value of the UNITS attribute is). A user agent may scale this figure image to match this width.

HEIGHT

HEIGHT is used to specify the desired height in pixels or units (according to what the value of the UNITS attribute is). A user agent may scale the figure image to match this height.

IMAGEMAP

Use IMAGEMAP to specify a URI for processing drags and image clicks.

Context: <OVERLAY> is legal within

<FIG>

The following markup can be used within <OVERLAY>: None

Suggested style/usage: Close Tag: OPTIONAL

-==--==--==--==--==-
HOME BACK NEXT MENU

E-Mail: HTML for Dummies at html4dum@lanw.com
URL: http://www.lanw.com/html4dum/h4d2e/t0062.htm
Text - Copyright © 1995, 1996 Ed Tittel & Steve James.
For Dummies, the Dummies Man logo and Dummies Press are trademarks or registered trademarks of Wiley Publishing, Inc. Used with Permission.
Web Layout - Copyright © 1996, LANWrights
Revised -- May, 2002 [MCB]